blob: fad370106dd72374368ab5827c123d278a2d0db1 [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)
Ram Muthiah358c6ef2020-01-31 18:59:11 -08004 select DRM_GEM_SHMEM_HELPER if (DRM)
Todd Kjosf7fba402019-09-17 14:36:04 -07005 select DRM_GEM_CMA_HELPER
6 select DRM_KMS_CMA_HELPER
7 select DRM_MIPI_DSI
Lingfeng Yang51c9ed82020-04-15 13:50:41 -07008 select DRM_TTM if (HAS_IOMEM && DRM)
Orson Zhai7204b562019-12-24 17:27:54 +08009 select VIDEOMODE_HELPERS
John Stultzb8686692019-12-05 01:42:25 +000010 select WANT_DEV_COREDUMP
Todd Kjoscc7e5672020-06-24 15:27:38 -070011 select INTERVAL_TREE
Todd Kjosf7fba402019-09-17 14:36:04 -070012 help
13 Dummy config option used to enable hidden DRM configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080014 These are normally selected implicitly when including a
Todd Kjosf7fba402019-09-17 14:36:04 -070015 DRM module, but for GKI, the modules are built out-of-tree.
16
Todd Kjos452316b2019-09-17 15:38:05 -070017config GKI_HIDDEN_REGMAP_CONFIGS
18 bool "Hidden Regmap configs needed for GKI"
19 select REGMAP_IRQ
John Stultz146dc142019-10-09 23:11:38 +000020 select REGMAP_MMIO
Todd Kjos452316b2019-09-17 15:38:05 -070021 help
22 Dummy config option used to enable hidden regmap configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080023 These are normally selected implicitly when a module
Todd Kjos452316b2019-09-17 15:38:05 -070024 that relies on it is configured.
25
Ram Muthiah77002c32020-01-28 16:11:56 -080026config GKI_HIDDEN_CRYPTO_CONFIGS
Ram Muthiah48e48812020-01-29 11:27:23 -080027 bool "Hidden CRYPTO configs needed for GKI"
Ram Muthiah77002c32020-01-28 16:11:56 -080028 select CRYPTO_ENGINE
29 help
Ram Muthiah48e48812020-01-29 11:27:23 -080030 Dummy config option used to enable hidden CRYPTO configs.
31 These are normally selected implicitly when a module
Ram Muthiah77002c32020-01-28 16:11:56 -080032 that relies on it is configured.
33
34config GKI_HIDDEN_SND_CONFIGS
35 bool "Hidden SND configs needed for GKI"
36 select SND_VMASTER
Ram Muthiah759fcb52020-03-02 16:51:40 -080037 select SND_PCM_ELD
Ram Muthiah1e702f42020-03-02 16:28:03 -080038 select SND_JACK
39 select SND_JACK_INPUT_DEV
Ram Muthiah759fcb52020-03-02 16:51:40 -080040 select SND_INTEL_NHLT if (ACPI)
Ram Muthiah77002c32020-01-28 16:11:56 -080041 help
42 Dummy config option used to enable hidden SND configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080043 These are normally selected implicitly when a module
Ram Muthiah77002c32020-01-28 16:11:56 -080044 that relies on it is configured.
45
Todd Kjosdf32f052019-09-17 15:57:02 -070046config GKI_HIDDEN_SND_SOC_CONFIGS
47 bool "Hidden SND_SOC configs needed for GKI"
48 select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
John Stultzb4750d32019-10-09 23:12:21 +000049 select SND_PCM_IEC958
Todd Kjos0cb380b2019-11-07 11:17:41 -080050 select SND_SOC_COMPRESS if (SND_SOC && SND)
zhang sanshanc8c2f192020-07-06 18:57:52 +080051 select DMA_VIRTUAL_CHANNELS
Todd Kjosdf32f052019-09-17 15:57:02 -070052 help
53 Dummy config option used to enable hidden SND_SOC configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080054 These are normally selected implicitly when a module
Todd Kjosdf32f052019-09-17 15:57:02 -070055 that relies on it is configured.
56
John Stultza025c3a2019-10-09 23:16:45 +000057config GKI_HIDDEN_MMC_CONFIGS
58 bool "Hidden MMC configs needed for GKI"
59 select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI)
60 help
61 Dummy config option used to enable hidden MMC configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080062 These are normally selected implicitly when a module
John Stultza025c3a2019-10-09 23:16:45 +000063 that relies on it is configured.
64
Todd Kjosf91b8072019-09-17 16:19:15 -070065config GKI_HIDDEN_GPIO_CONFIGS
66 bool "Hidden GPIO configs needed for GKI"
67 select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
68 select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
69 help
70 Dummy config option used to enable hidden GPIO configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080071 These are normally selected implicitly when a module
Todd Kjosf91b8072019-09-17 16:19:15 -070072 that relies on it is configured.
73
John Stultz612b6ac2019-10-09 23:13:39 +000074config GKI_HIDDEN_QCOM_CONFIGS
75 bool "Hidden QCOM configs needed for GKI"
76 select QCOM_SMEM_STATE
John Stultza9d347b2020-02-13 22:52:08 +000077 select QCOM_GDSC if (ARCH_QCOM)
John Stultz0c8ec662020-04-03 22:12:09 +000078 select IOMMU_IO_PGTABLE_LPAE if (ARCH_QCOM)
79
John Stultz612b6ac2019-10-09 23:13:39 +000080 help
81 Dummy config option used to enable hidden QCOM configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080082 These are normally selected implicitly when a module
John Stultz612b6ac2019-10-09 23:13:39 +000083 that relies on it is configured.
84
Todd Kjos64923892019-10-25 11:39:57 -070085config GKI_HIDDEN_MEDIA_CONFIGS
86 bool "Hidden Media configs needed for GKI"
87 select VIDEOBUF2_CORE
Maheshwar Ajja1d74cced2020-10-26 10:56:35 -070088 select V4L2_MEM2MEM_DEV
89 select MEDIA_CONTROLLER
90 select MEDIA_CONTROLLER_REQUEST_API
Todd Kjos5e3c82a2019-10-28 09:44:36 -070091 select MEDIA_SUPPORT
Todd Kjos601fce52020-03-13 16:24:20 -070092 select FRAME_VECTOR
Alistair Delva2886a3b2020-08-17 09:39:47 -070093 select CEC_CORE
94 select CEC_NOTIFIER
95 select CEC_PIN
Todd Kjos64923892019-10-25 11:39:57 -070096 help
97 Dummy config option used to enable hidden media configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080098 These are normally selected implicitly when a module
Todd Kjos64923892019-10-25 11:39:57 -070099 that relies on it is configured.
John Stultz612b6ac2019-10-09 23:13:39 +0000100
Ram Muthiah180e8152020-03-03 13:30:16 -0800101config GKI_HIDDEN_VIRTUAL_CONFIGS
102 bool "Hidden Virtual configs needed for GKI"
103 select HVC_DRIVER
104 help
105 Dummy config option used to enable hidden virtual device configs.
106 These are normally selected implicitly when a module
107 that relies on it is configured.
108
Mark Salyzyn8a167342019-08-30 08:23:25 -0700109# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
110# problem for GKI to solve. It should be noted that these extensions are
111# in-effect deprecated and generally unsupported and we should pressure
112# the SOC vendors to drop any modules that require these extensions.
113config GKI_LEGACY_WEXT_ALLCONFIG
114 bool "Hidden wireless extension configs needed for GKI"
115 select WIRELESS_EXT
116 select WEXT_CORE
117 select WEXT_PROC
118 select WEXT_SPY
119 select WEXT_PRIV
120 help
121 Dummy config option used to enable all the hidden legacy wireless
122 extensions to the core wireless network functionality used by
123 add-in modules.
124
125 If you are not building a kernel to be used for a variety of
126 out-of-kernel built wireless modules, say N here.
127
Sandeep Patiladb016d2020-03-19 18:18:41 -0700128config GKI_HIDDEN_USB_CONFIGS
129 bool "Hiddel USB configurations needed for GKI"
130 select USB_PHY
131 help
132 Dummy config option used to enable all USB related hidden configs.
133 These configurations are usually only selected by another config
134 option or a combination of them.
135
136 If you are not building a kernel to be used for a variety of
137 out-of-kernel build USB drivers, say N here.
138
Sandeep Patil4fbd0d3c12020-03-23 20:40:00 -0700139config GKI_HIDDEN_SOC_BUS_CONFIGS
140 bool "Hidden SoC bus configuration needed for GKI"
141 select SOC_BUS
142 help
143 Dummy config option used to enable SOC_BUS hidden Kconfig.
144 The configuration is required for SoCs to register themselves to the bus.
145
146 If you are not building a kernel to be used for a variety of SoCs and
147 out-of-tree drivers, say N here.
148
Alistair Delva82e1d3a2020-03-27 10:18:41 -0700149config GKI_HIDDEN_RPMSG_CONFIGS
150 bool "Hidden RPMSG configuration needed for GKI"
151 select RPMSG
152 help
153 Dummy config option used to enable the hidden RPMSG config.
154 This configuration is usually only selected by another config
155 option or a combination of them.
156
157 If you are not building a kernel to be used for a variety of
158 out-of-kernel build RPMSG drivers, say N here.
159
Yiwei Zhangef683a42020-04-21 17:54:15 -0700160config GKI_HIDDEN_GPU_CONFIGS
161 bool "Hidden GPU configuration needed for GKI"
162 select TRACE_GPU_MEM
163 help
164 Dummy config option used to enable the hidden GPU config.
165 These are normally selected implicitly when a module
166 that relies on it is configured.
167
Alistair Delva68e3e2e2020-04-27 08:54:47 -0700168config GKI_HIDDEN_IRQ_CONFIGS
169 bool "Hidden IRQ configuration needed for GKI"
170 select GENERIC_IRQ_CHIP
John Stultzfa5543e2020-08-04 00:48:52 +0000171 select IRQ_DOMAIN_HIERARCHY
172 select IRQ_FASTEOI_HIERARCHY_HANDLERS
Alistair Delva68e3e2e2020-04-27 08:54:47 -0700173 help
174 Dummy config option used to enable GENERIC_IRQ_CHIP hidden
175 config, required by various SoC platforms. This is usually
176 selected by ARCH_*.
177
Alistair Delva7b8513e2020-06-02 09:21:55 -0700178config GKI_HIDDEN_HYPERVISOR_CONFIGS
179 bool "Hidden hypervisor configuration needed for GKI"
180 select SYS_HYPERVISOR
181 help
182 Dummy config option used to enable the SYS_HYPERVISOR hidden
183 config, required by various SoC platforms. This is usually
184 selected by XEN or S390.
185
Todd Kjos2de45b62019-08-28 15:52:02 -0700186# Atrocities needed for
187# a) building GKI modules in separate tree, or
188# b) building drivers that are not modularizable
189#
190# All of these should be reworked into an upstream solution
191# if possible.
192#
193config GKI_HACKS_TO_FIX
194 bool "GKI Dummy config options"
Ram Muthiah77002c32020-01-28 16:11:56 -0800195 select GKI_HIDDEN_CRYPTO_CONFIGS
Todd Kjosf7fba402019-09-17 14:36:04 -0700196 select GKI_HIDDEN_DRM_CONFIGS
Todd Kjos452316b2019-09-17 15:38:05 -0700197 select GKI_HIDDEN_REGMAP_CONFIGS
Ram Muthiah77002c32020-01-28 16:11:56 -0800198 select GKI_HIDDEN_SND_CONFIGS
Todd Kjosdf32f052019-09-17 15:57:02 -0700199 select GKI_HIDDEN_SND_SOC_CONFIGS
John Stultza025c3a2019-10-09 23:16:45 +0000200 select GKI_HIDDEN_MMC_CONFIGS
Todd Kjosf91b8072019-09-17 16:19:15 -0700201 select GKI_HIDDEN_GPIO_CONFIGS
John Stultz612b6ac2019-10-09 23:13:39 +0000202 select GKI_HIDDEN_QCOM_CONFIGS
Mark Salyzyn8a167342019-08-30 08:23:25 -0700203 select GKI_LEGACY_WEXT_ALLCONFIG
Todd Kjos64923892019-10-25 11:39:57 -0700204 select GKI_HIDDEN_MEDIA_CONFIGS
Ram Muthiah180e8152020-03-03 13:30:16 -0800205 select GKI_HIDDEN_VIRTUAL_CONFIGS
Sandeep Patiladb016d2020-03-19 18:18:41 -0700206 select GKI_HIDDEN_USB_CONFIGS
Sandeep Patil4fbd0d3c12020-03-23 20:40:00 -0700207 select GKI_HIDDEN_SOC_BUS_CONFIGS
Alistair Delva82e1d3a2020-03-27 10:18:41 -0700208 select GKI_HIDDEN_RPMSG_CONFIGS
Yiwei Zhangef683a42020-04-21 17:54:15 -0700209 select GKI_HIDDEN_GPU_CONFIGS
Alistair Delva68e3e2e2020-04-27 08:54:47 -0700210 select GKI_HIDDEN_IRQ_CONFIGS
Alistair Delva7b8513e2020-06-02 09:21:55 -0700211 select GKI_HIDDEN_HYPERVISOR_CONFIGS
Todd Kjos2de45b62019-08-28 15:52:02 -0700212 help
213 Dummy config option used to enable core functionality used by
214 modules that may not be selectable in this config.
215
216 Unless you are building a GKI kernel to be used with modules
217 built from a different config, say N here.