Blame view

init/Kconfig.gki 7.15 KB
f7fba4092   Todd Kjos   ANDROID: init: GK...
1
2
3
  config GKI_HIDDEN_DRM_CONFIGS
  	bool "Hidden DRM configs needed for GKI"
  	select DRM_KMS_HELPER if (HAS_IOMEM && DRM)
358c6ef08   Ram Muthiah   ANDROID: gki: Ena...
4
  	select DRM_GEM_SHMEM_HELPER if (DRM)
f7fba4092   Todd Kjos   ANDROID: init: GK...
5
6
7
  	select DRM_GEM_CMA_HELPER
  	select DRM_KMS_CMA_HELPER
  	select DRM_MIPI_DSI
51c9ed876   Lingfeng Yang   ANDROID: GKI: Add...
8
  	select DRM_TTM if (HAS_IOMEM && DRM)
7204b56d4   Orson Zhai   ANDROID: Kconfig....
9
  	select VIDEOMODE_HELPERS
b86866925   John Stultz   ANDROID: Kconfig....
10
  	select WANT_DEV_COREDUMP
cc7e56790   Todd Kjos   ANDROID: GKI: Ena...
11
  	select INTERVAL_TREE
f7fba4092   Todd Kjos   ANDROID: init: GK...
12
13
  	help
  	  Dummy config option used to enable hidden DRM configs.
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
14
  	  These are normally selected implicitly when including a
f7fba4092   Todd Kjos   ANDROID: init: GK...
15
  	  DRM module, but for GKI, the modules are built out-of-tree.
452316ba9   Todd Kjos   ANDROID: init: GK...
16
17
18
  config GKI_HIDDEN_REGMAP_CONFIGS
  	bool "Hidden Regmap configs needed for GKI"
  	select REGMAP_IRQ
146dc14c3   John Stultz   ANDROID: Kconfig....
19
  	select REGMAP_MMIO
452316ba9   Todd Kjos   ANDROID: init: GK...
20
21
  	help
  	  Dummy config option used to enable hidden regmap configs.
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
22
  	  These are normally selected implicitly when a module
452316ba9   Todd Kjos   ANDROID: init: GK...
23
  	  that relies on it is configured.
77002c324   Ram Muthiah   ANDROID: gki_defc...
24
  config GKI_HIDDEN_CRYPTO_CONFIGS
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
25
  	bool "Hidden CRYPTO configs needed for GKI"
77002c324   Ram Muthiah   ANDROID: gki_defc...
26
27
  	select CRYPTO_ENGINE
  	help
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
28
29
  	  Dummy config option used to enable hidden CRYPTO configs.
  	  These are normally selected implicitly when a module
77002c324   Ram Muthiah   ANDROID: gki_defc...
30
31
32
33
34
  	  that relies on it is configured.
  
  config GKI_HIDDEN_SND_CONFIGS
  	bool "Hidden SND configs needed for GKI"
  	select SND_VMASTER
759fcb59a   Ram Muthiah   ANDROID: GKI: Add...
35
  	select SND_PCM_ELD
1e702f432   Ram Muthiah   ANDROID: GKI: Add...
36
37
  	select SND_JACK
  	select SND_JACK_INPUT_DEV
759fcb59a   Ram Muthiah   ANDROID: GKI: Add...
38
  	select SND_INTEL_NHLT if (ACPI)
77002c324   Ram Muthiah   ANDROID: gki_defc...
39
40
  	help
  	  Dummy config option used to enable hidden SND configs.
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
41
  	  These are normally selected implicitly when a module
77002c324   Ram Muthiah   ANDROID: gki_defc...
42
  	  that relies on it is configured.
df32f0581   Todd Kjos   ANDROID: init: GK...
43
44
45
  config GKI_HIDDEN_SND_SOC_CONFIGS
  	bool "Hidden SND_SOC configs needed for GKI"
  	select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
b4750d3d2   John Stultz   ANDROID: Kconfig....
46
  	select SND_PCM_IEC958
0cb380b42   Todd Kjos   ANDROID: Kconfig....
47
  	select SND_SOC_COMPRESS if (SND_SOC && SND)
4efc9e144   Miles Chen   ANDROID: GKI: sel...
48
  	select DMADEVICES
c8c2f1966   zhang sanshan   ANDROID: gki: bui...
49
  	select DMA_VIRTUAL_CHANNELS
df32f0581   Todd Kjos   ANDROID: init: GK...
50
51
  	help
  	  Dummy config option used to enable hidden SND_SOC configs.
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
52
  	  These are normally selected implicitly when a module
df32f0581   Todd Kjos   ANDROID: init: GK...
53
  	  that relies on it is configured.
a025c3a71   John Stultz   ANDROID: Kconfig....
54
55
56
57
58
  config GKI_HIDDEN_MMC_CONFIGS
  	bool "Hidden MMC configs needed for GKI"
  	select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI)
  	help
  	  Dummy config option used to enable hidden MMC configs.
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
59
  	  These are normally selected implicitly when a module
a025c3a71   John Stultz   ANDROID: Kconfig....
60
  	  that relies on it is configured.
f91b807d6   Todd Kjos   ANDROID: init: GK...
61
62
63
64
65
66
  config GKI_HIDDEN_GPIO_CONFIGS
  	bool "Hidden GPIO configs needed for GKI"
  	select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
  	select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
  	help
  	  Dummy config option used to enable hidden GPIO configs.
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
67
  	  These are normally selected implicitly when a module
f91b807d6   Todd Kjos   ANDROID: init: GK...
68
  	  that relies on it is configured.
612b6ac9f   John Stultz   ANDROID: Kconfig....
69
70
71
  config GKI_HIDDEN_QCOM_CONFIGS
  	bool "Hidden QCOM configs needed for GKI"
  	select QCOM_SMEM_STATE
a9d347b3a   John Stultz   ANDROID: Kconfig....
72
  	select QCOM_GDSC if (ARCH_QCOM)
0c8ec6690   John Stultz   ANDROID: Switch C...
73
  	select IOMMU_IO_PGTABLE_LPAE if (ARCH_QCOM)
612b6ac9f   John Stultz   ANDROID: Kconfig....
74
75
  	help
  	  Dummy config option used to enable hidden QCOM configs.
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
76
  	  These are normally selected implicitly when a module
612b6ac9f   John Stultz   ANDROID: Kconfig....
77
  	  that relies on it is configured.
649238947   Todd Kjos   ANDROID: init: GK...
78
79
80
  config GKI_HIDDEN_MEDIA_CONFIGS
  	bool "Hidden Media configs needed for GKI"
  	select VIDEOBUF2_CORE
1d74cced1   Maheshwar Ajja   ANDROID: Kconfig....
81
82
83
  	select V4L2_MEM2MEM_DEV
  	select MEDIA_CONTROLLER
  	select MEDIA_CONTROLLER_REQUEST_API
5e3c82a0d   Todd Kjos   ANDROID: fix VIDE...
84
  	select MEDIA_SUPPORT
601fce5a8   Todd Kjos   ANDROID: Kconfig....
85
  	select FRAME_VECTOR
2886a3b33   Alistair Delva   ANDROID: GKI: Bui...
86
87
88
  	select CEC_CORE
  	select CEC_NOTIFIER
  	select CEC_PIN
2db4ef422   zhang sanshan   ANDROID: GKI: mak...
89
  	select VIDEOBUF2_DMA_CONTIG
649238947   Todd Kjos   ANDROID: init: GK...
90
91
  	help
  	  Dummy config option used to enable hidden media configs.
48e4881ec   Ram Muthiah   ANDROID: gki: Fix...
92
  	  These are normally selected implicitly when a module
649238947   Todd Kjos   ANDROID: init: GK...
93
  	  that relies on it is configured.
612b6ac9f   John Stultz   ANDROID: Kconfig....
94

180e8150b   Ram Muthiah   ANDROID: GKI: bui...
95
96
97
98
99
100
101
  config GKI_HIDDEN_VIRTUAL_CONFIGS
  	bool "Hidden Virtual configs needed for GKI"
  	select HVC_DRIVER
  	help
  	  Dummy config option used to enable hidden virtual device configs.
  	  These are normally selected implicitly when a module
  	  that relies on it is configured.
8a167346a   Mark Salyzyn   ANDROID: net: ena...
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
  # LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
  # problem for GKI to solve.  It should be noted that these extensions are
  # in-effect deprecated and generally unsupported and we should pressure
  # the SOC vendors to drop any modules that require these extensions.
  config GKI_LEGACY_WEXT_ALLCONFIG
  	bool "Hidden wireless extension configs needed for GKI"
  	select WIRELESS_EXT
  	select WEXT_CORE
  	select WEXT_PROC
  	select WEXT_SPY
  	select WEXT_PRIV
  	help
  	  Dummy config option used to enable all the hidden legacy wireless
  	  extensions to the core wireless network functionality used by
  	  add-in modules.
  
  	  If you are not building a kernel to be used for a variety of
  	  out-of-kernel built wireless modules, say N here.
adb016dd5   Sandeep Patil   ANDROID: GKI: Ena...
120
121
122
123
124
125
126
127
128
129
  config GKI_HIDDEN_USB_CONFIGS
  	bool "Hiddel USB configurations needed for GKI"
  	select USB_PHY
  	help
  	  Dummy config option used to enable all USB related hidden configs.
  	  These configurations are usually only selected by another config
  	  option or a combination of them.
  
  	  If you are not building a kernel to be used for a variety of
  	  out-of-kernel build USB drivers, say N here.
4fbd0d3c1   Sandeep Patil   ANDROID: GKI: Add...
130
131
132
133
134
135
136
137
138
  config GKI_HIDDEN_SOC_BUS_CONFIGS
  	bool "Hidden SoC bus configuration needed for GKI"
  	select SOC_BUS
  	  help
  	    Dummy config option used to enable SOC_BUS hidden Kconfig.
  	    The configuration is required for SoCs to register themselves to the bus.
  
  	    If you are not building a kernel to be used for a variety of SoCs and
  	    out-of-tree drivers, say N here.
82e1d3acb   Alistair Delva   ANDROID: GKI: Add...
139
140
141
142
143
144
145
146
147
148
  config GKI_HIDDEN_RPMSG_CONFIGS
  	bool "Hidden RPMSG configuration needed for GKI"
  	select RPMSG
  	help
  	  Dummy config option used to enable the hidden RPMSG config.
  	  This configuration is usually only selected by another config
  	  option or a combination of them.
  
  	  If you are not building a kernel to be used for a variety of
  	  out-of-kernel build RPMSG drivers, say N here.
ef683a4cc   Yiwei Zhang   ANDROID: init: GK...
149
150
151
152
153
154
155
  config GKI_HIDDEN_GPU_CONFIGS
  	bool "Hidden GPU configuration needed for GKI"
  	select TRACE_GPU_MEM
  	help
  	  Dummy config option used to enable the hidden GPU config.
  	  These are normally selected implicitly when a module
  	  that relies on it is configured.
68e3e2e1c   Alistair Delva   ANDROID: GKI: Ena...
156
157
158
  config GKI_HIDDEN_IRQ_CONFIGS
  	bool "Hidden IRQ configuration needed for GKI"
  	select GENERIC_IRQ_CHIP
fa5543e3b   John Stultz   ANDROID: Kconfig....
159
160
  	select IRQ_DOMAIN_HIERARCHY
  	select IRQ_FASTEOI_HIERARCHY_HANDLERS
68e3e2e1c   Alistair Delva   ANDROID: GKI: Ena...
161
162
163
164
  	help
  	  Dummy config option used to enable GENERIC_IRQ_CHIP hidden
  	  config, required by various SoC platforms. This is usually
  	  selected by ARCH_*.
7b8513eb0   Alistair Delva   ANDROID: GKI: Ena...
165
166
167
168
169
170
171
  config GKI_HIDDEN_HYPERVISOR_CONFIGS
  	bool "Hidden hypervisor configuration needed for GKI"
  	select SYS_HYPERVISOR
  	help
  	  Dummy config option used to enable the SYS_HYPERVISOR hidden
  	  config, required by various SoC platforms. This is usually
  	  selected by XEN or S390.
2de45b6b0   Todd Kjos   ANDROID: init: GK...
172
173
174
175
176
177
178
179
180
  # Atrocities needed for
  # a) building GKI modules in separate tree, or
  # b) building drivers that are not modularizable
  #
  # All of these should be reworked into an upstream solution
  # if possible.
  #
  config GKI_HACKS_TO_FIX
  	bool "GKI Dummy config options"
77002c324   Ram Muthiah   ANDROID: gki_defc...
181
  	select GKI_HIDDEN_CRYPTO_CONFIGS
f7fba4092   Todd Kjos   ANDROID: init: GK...
182
  	select GKI_HIDDEN_DRM_CONFIGS
452316ba9   Todd Kjos   ANDROID: init: GK...
183
  	select GKI_HIDDEN_REGMAP_CONFIGS
77002c324   Ram Muthiah   ANDROID: gki_defc...
184
  	select GKI_HIDDEN_SND_CONFIGS
df32f0581   Todd Kjos   ANDROID: init: GK...
185
  	select GKI_HIDDEN_SND_SOC_CONFIGS
a025c3a71   John Stultz   ANDROID: Kconfig....
186
  	select GKI_HIDDEN_MMC_CONFIGS
f91b807d6   Todd Kjos   ANDROID: init: GK...
187
  	select GKI_HIDDEN_GPIO_CONFIGS
612b6ac9f   John Stultz   ANDROID: Kconfig....
188
  	select GKI_HIDDEN_QCOM_CONFIGS
8a167346a   Mark Salyzyn   ANDROID: net: ena...
189
  	select GKI_LEGACY_WEXT_ALLCONFIG
649238947   Todd Kjos   ANDROID: init: GK...
190
  	select GKI_HIDDEN_MEDIA_CONFIGS
180e8150b   Ram Muthiah   ANDROID: GKI: bui...
191
  	select GKI_HIDDEN_VIRTUAL_CONFIGS
adb016dd5   Sandeep Patil   ANDROID: GKI: Ena...
192
  	select GKI_HIDDEN_USB_CONFIGS
4fbd0d3c1   Sandeep Patil   ANDROID: GKI: Add...
193
  	select GKI_HIDDEN_SOC_BUS_CONFIGS
82e1d3acb   Alistair Delva   ANDROID: GKI: Add...
194
  	select GKI_HIDDEN_RPMSG_CONFIGS
ef683a4cc   Yiwei Zhang   ANDROID: init: GK...
195
  	select GKI_HIDDEN_GPU_CONFIGS
68e3e2e1c   Alistair Delva   ANDROID: GKI: Ena...
196
  	select GKI_HIDDEN_IRQ_CONFIGS
7b8513eb0   Alistair Delva   ANDROID: GKI: Ena...
197
  	select GKI_HIDDEN_HYPERVISOR_CONFIGS
2de45b6b0   Todd Kjos   ANDROID: init: GK...
198
199
200
201
202
203
  	help
  	  Dummy config option used to enable core functionality used by
  	  modules that may not be selectable in this config.
  
  	  Unless you are building a GKI kernel to be used with modules
  	  built from a different config, say N here.