blob: 2c6f92b15ea39e716d16251f9df341352603082d [file] [log] [blame]
Todd Kjosf7fba402019-09-17 14:36:04 -07001config GKI_HIDDEN_DRM_CONFIGS
2 bool "Hidden DRM configs needed for GKI"
3 select DRM_KMS_HELPER if (HAS_IOMEM && DRM)
4 select DRM_GEM_CMA_HELPER
5 select DRM_KMS_CMA_HELPER
6 select DRM_MIPI_DSI
John Stultz26a9b132019-10-22 23:48:02 +00007 select SND_PCM_ELD
John Stultzb8686692019-12-05 01:42:25 +00008 select WANT_DEV_COREDUMP
Todd Kjosf7fba402019-09-17 14:36:04 -07009 help
10 Dummy config option used to enable hidden DRM configs.
11 These are normally selected implicitely when including a
12 DRM module, but for GKI, the modules are built out-of-tree.
13
Todd Kjos452316b2019-09-17 15:38:05 -070014config GKI_HIDDEN_REGMAP_CONFIGS
15 bool "Hidden Regmap configs needed for GKI"
16 select REGMAP_IRQ
John Stultz146dc142019-10-09 23:11:38 +000017 select REGMAP_MMIO
Todd Kjos452316b2019-09-17 15:38:05 -070018 help
19 Dummy config option used to enable hidden regmap configs.
20 These are normally selected implicitely when a module
21 that relies on it is configured.
22
Todd Kjosdf32f052019-09-17 15:57:02 -070023config GKI_HIDDEN_SND_SOC_CONFIGS
24 bool "Hidden SND_SOC configs needed for GKI"
25 select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
John Stultzb4750d32019-10-09 23:12:21 +000026 select SND_PCM_IEC958
Todd Kjos0cb380b2019-11-07 11:17:41 -080027 select SND_SOC_COMPRESS if (SND_SOC && SND)
Todd Kjosdf32f052019-09-17 15:57:02 -070028 help
29 Dummy config option used to enable hidden SND_SOC configs.
30 These are normally selected implicitely when a module
31 that relies on it is configured.
32
John Stultza025c3a2019-10-09 23:16:45 +000033config GKI_HIDDEN_MMC_CONFIGS
34 bool "Hidden MMC configs needed for GKI"
35 select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI)
36 help
37 Dummy config option used to enable hidden MMC configs.
38 These are normally selected implicitely when a module
39 that relies on it is configured.
40
Todd Kjosf91b8072019-09-17 16:19:15 -070041config GKI_HIDDEN_GPIO_CONFIGS
42 bool "Hidden GPIO configs needed for GKI"
43 select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
44 select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
45 help
46 Dummy config option used to enable hidden GPIO configs.
47 These are normally selected implicitely when a module
48 that relies on it is configured.
49
John Stultz612b6ac2019-10-09 23:13:39 +000050config GKI_HIDDEN_QCOM_CONFIGS
51 bool "Hidden QCOM configs needed for GKI"
52 select QCOM_SMEM_STATE
John Stultz609922b2019-11-20 18:03:34 +000053 select PINCTRL_MSM if (PINCTRL && ARCH_QCOM)
John Stultz612b6ac2019-10-09 23:13:39 +000054 help
55 Dummy config option used to enable hidden QCOM configs.
56 These are normally selected implicitely when a module
57 that relies on it is configured.
58
John Stultzebb5db12019-12-17 19:58:47 +000059config GKI_QCOM_CLKS_CONFIGS
60 bool "QCOM clk drivers needed for GKI due to powerdomain restrictions"
61 select COMMON_CLK_QCOM if (ARCH_QCOM)
62 select QCOM_CLK_RPMH if (ARCH_QCOM)
63 select SDM_GPUCC_845 if (ARCH_QCOM)
64 select QCOM_RPMHPD if (ARCH_QCOM)
65 help
66 This config option selects various QCOM clk drivers that
67 cannot be built as a module currently due to power-domain
68 deferred probing limitations.
69 See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e01afc32502555beb2057ddd74401be38475d851
70
Todd Kjos64923892019-10-25 11:39:57 -070071config GKI_HIDDEN_MEDIA_CONFIGS
72 bool "Hidden Media configs needed for GKI"
73 select VIDEOBUF2_CORE
Todd Kjos5e3c82a2019-10-28 09:44:36 -070074 select MEDIA_SUPPORT
Todd Kjos64923892019-10-25 11:39:57 -070075 help
76 Dummy config option used to enable hidden media configs.
77 These are normally selected implicitely when a module
78 that relies on it is configured.
John Stultz612b6ac2019-10-09 23:13:39 +000079
Mark Salyzyn8a167342019-08-30 08:23:25 -070080# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
81# problem for GKI to solve. It should be noted that these extensions are
82# in-effect deprecated and generally unsupported and we should pressure
83# the SOC vendors to drop any modules that require these extensions.
84config GKI_LEGACY_WEXT_ALLCONFIG
85 bool "Hidden wireless extension configs needed for GKI"
86 select WIRELESS_EXT
87 select WEXT_CORE
88 select WEXT_PROC
89 select WEXT_SPY
90 select WEXT_PRIV
91 help
92 Dummy config option used to enable all the hidden legacy wireless
93 extensions to the core wireless network functionality used by
94 add-in modules.
95
96 If you are not building a kernel to be used for a variety of
97 out-of-kernel built wireless modules, say N here.
98
Todd Kjos2de45b62019-08-28 15:52:02 -070099# Atrocities needed for
100# a) building GKI modules in separate tree, or
101# b) building drivers that are not modularizable
102#
103# All of these should be reworked into an upstream solution
104# if possible.
105#
106config GKI_HACKS_TO_FIX
107 bool "GKI Dummy config options"
Todd Kjosf7fba402019-09-17 14:36:04 -0700108 select GKI_HIDDEN_DRM_CONFIGS
Todd Kjos452316b2019-09-17 15:38:05 -0700109 select GKI_HIDDEN_REGMAP_CONFIGS
Todd Kjosdf32f052019-09-17 15:57:02 -0700110 select GKI_HIDDEN_SND_SOC_CONFIGS
John Stultza025c3a2019-10-09 23:16:45 +0000111 select GKI_HIDDEN_MMC_CONFIGS
Todd Kjosf91b8072019-09-17 16:19:15 -0700112 select GKI_HIDDEN_GPIO_CONFIGS
John Stultz612b6ac2019-10-09 23:13:39 +0000113 select GKI_HIDDEN_QCOM_CONFIGS
Mark Salyzyn8a167342019-08-30 08:23:25 -0700114 select GKI_LEGACY_WEXT_ALLCONFIG
Todd Kjos64923892019-10-25 11:39:57 -0700115 select GKI_HIDDEN_MEDIA_CONFIGS
John Stultzebb5db12019-12-17 19:58:47 +0000116 select GKI_QCOM_CLKS_CONFIGS
Todd Kjos2de45b62019-08-28 15:52:02 -0700117 help
118 Dummy config option used to enable core functionality used by
119 modules that may not be selectable in this config.
120
121 Unless you are building a GKI kernel to be used with modules
122 built from a different config, say N here.