blob: c5a080e7784b84c9b03367320e0783b3491f0997 [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
Todd Kjosf7fba402019-09-17 14:36:04 -07008 help
9 Dummy config option used to enable hidden DRM configs.
10 These are normally selected implicitely when including a
11 DRM module, but for GKI, the modules are built out-of-tree.
12
Todd Kjos452316b2019-09-17 15:38:05 -070013config GKI_HIDDEN_REGMAP_CONFIGS
14 bool "Hidden Regmap configs needed for GKI"
15 select REGMAP_IRQ
John Stultz146dc142019-10-09 23:11:38 +000016 select REGMAP_MMIO
Todd Kjos452316b2019-09-17 15:38:05 -070017 help
18 Dummy config option used to enable hidden regmap configs.
19 These are normally selected implicitely when a module
20 that relies on it is configured.
21
Todd Kjosdf32f052019-09-17 15:57:02 -070022config GKI_HIDDEN_SND_SOC_CONFIGS
23 bool "Hidden SND_SOC configs needed for GKI"
24 select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
John Stultzb4750d32019-10-09 23:12:21 +000025 select SND_PCM_IEC958
Todd Kjosdf32f052019-09-17 15:57:02 -070026 help
27 Dummy config option used to enable hidden SND_SOC configs.
28 These are normally selected implicitely when a module
29 that relies on it is configured.
30
John Stultza025c3a2019-10-09 23:16:45 +000031config GKI_HIDDEN_MMC_CONFIGS
32 bool "Hidden MMC configs needed for GKI"
33 select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI)
34 help
35 Dummy config option used to enable hidden MMC configs.
36 These are normally selected implicitely when a module
37 that relies on it is configured.
38
Todd Kjosf91b8072019-09-17 16:19:15 -070039config GKI_HIDDEN_GPIO_CONFIGS
40 bool "Hidden GPIO configs needed for GKI"
41 select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
42 select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
43 help
44 Dummy config option used to enable hidden GPIO configs.
45 These are normally selected implicitely when a module
46 that relies on it is configured.
47
John Stultz612b6ac2019-10-09 23:13:39 +000048config GKI_HIDDEN_QCOM_CONFIGS
49 bool "Hidden QCOM configs needed for GKI"
50 select QCOM_SMEM_STATE
51 help
52 Dummy config option used to enable hidden QCOM configs.
53 These are normally selected implicitely when a module
54 that relies on it is configured.
55
Todd Kjos64923892019-10-25 11:39:57 -070056config GKI_HIDDEN_MEDIA_CONFIGS
57 bool "Hidden Media configs needed for GKI"
58 select VIDEOBUF2_CORE
Todd Kjos5e3c82a2019-10-28 09:44:36 -070059 select MEDIA_SUPPORT
Todd Kjos64923892019-10-25 11:39:57 -070060 help
61 Dummy config option used to enable hidden media configs.
62 These are normally selected implicitely when a module
63 that relies on it is configured.
John Stultz612b6ac2019-10-09 23:13:39 +000064
Mark Salyzyn8a167342019-08-30 08:23:25 -070065# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
66# problem for GKI to solve. It should be noted that these extensions are
67# in-effect deprecated and generally unsupported and we should pressure
68# the SOC vendors to drop any modules that require these extensions.
69config GKI_LEGACY_WEXT_ALLCONFIG
70 bool "Hidden wireless extension configs needed for GKI"
71 select WIRELESS_EXT
72 select WEXT_CORE
73 select WEXT_PROC
74 select WEXT_SPY
75 select WEXT_PRIV
76 help
77 Dummy config option used to enable all the hidden legacy wireless
78 extensions to the core wireless network functionality used by
79 add-in modules.
80
81 If you are not building a kernel to be used for a variety of
82 out-of-kernel built wireless modules, say N here.
83
Todd Kjos2de45b62019-08-28 15:52:02 -070084# Atrocities needed for
85# a) building GKI modules in separate tree, or
86# b) building drivers that are not modularizable
87#
88# All of these should be reworked into an upstream solution
89# if possible.
90#
91config GKI_HACKS_TO_FIX
92 bool "GKI Dummy config options"
Todd Kjosf7fba402019-09-17 14:36:04 -070093 select GKI_HIDDEN_DRM_CONFIGS
Todd Kjos452316b2019-09-17 15:38:05 -070094 select GKI_HIDDEN_REGMAP_CONFIGS
Todd Kjosdf32f052019-09-17 15:57:02 -070095 select GKI_HIDDEN_SND_SOC_CONFIGS
John Stultza025c3a2019-10-09 23:16:45 +000096 select GKI_HIDDEN_MMC_CONFIGS
Todd Kjosf91b8072019-09-17 16:19:15 -070097 select GKI_HIDDEN_GPIO_CONFIGS
John Stultz612b6ac2019-10-09 23:13:39 +000098 select GKI_HIDDEN_QCOM_CONFIGS
Mark Salyzyn8a167342019-08-30 08:23:25 -070099 select GKI_LEGACY_WEXT_ALLCONFIG
Todd Kjos64923892019-10-25 11:39:57 -0700100 select GKI_HIDDEN_MEDIA_CONFIGS
Todd Kjos2de45b62019-08-28 15:52:02 -0700101 help
102 Dummy config option used to enable core functionality used by
103 modules that may not be selectable in this config.
104
105 Unless you are building a GKI kernel to be used with modules
106 built from a different config, say N here.