blob: 7bd91be205da4556f97d12045b3637a474e2b4c8 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001config 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
7 select VIDEOMODE_HELPERS
8 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
13config GKI_HIDDEN_REGMAP_CONFIGS
14 bool "Hidden Regmap configs needed for GKI"
15 select REGMAP_IRQ
16 help
17 Dummy config option used to enable hidden regmap configs.
18 These are normally selected implicitely when a module
19 that relies on it is configured.
20
21config GKI_HIDDEN_SND_SOC_CONFIGS
22 bool "Hidden SND_SOC configs needed for GKI"
23 select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
24 help
25 Dummy config option used to enable hidden SND_SOC configs.
26 These are normally selected implicitely when a module
27 that relies on it is configured.
28
29config GKI_HIDDEN_GPIO_CONFIGS
30 bool "Hidden GPIO configs needed for GKI"
31 select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
32 select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
33 help
34 Dummy config option used to enable hidden GPIO configs.
35 These are normally selected implicitely when a module
36 that relies on it is configured.
37
38# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
39# problem for GKI to solve. It should be noted that these extensions are
40# in-effect deprecated and generally unsupported and we should pressure
41# the SOC vendors to drop any modules that require these extensions.
42config GKI_LEGACY_WEXT_ALLCONFIG
43 bool "Hidden wireless extension configs needed for GKI"
44 select WIRELESS_EXT
45 select WEXT_CORE
46 select WEXT_PROC
47 select WEXT_SPY
48 select WEXT_PRIV
49 help
50 Dummy config option used to enable all the hidden legacy wireless
51 extensions to the core wireless network functionality used by
52 add-in modules.
53
54 If you are not building a kernel to be used for a variety of
55 out-of-kernel built wireless modules, say N here.
56
57# Atrocities needed for
58# a) building GKI modules in separate tree, or
59# b) building drivers that are not modularizable
60#
61# All of these should be reworked into an upstream solution
62# if possible.
63#
64config GKI_HACKS_TO_FIX
65 bool "GKI Dummy config options"
66 select GKI_HIDDEN_DRM_CONFIGS
67 select GKI_HIDDEN_REGMAP_CONFIGS
68 select GKI_HIDDEN_SND_SOC_CONFIGS
69 select GKI_HIDDEN_GPIO_CONFIGS
70 select GKI_LEGACY_WEXT_ALLCONFIG
71 help
72 Dummy config option used to enable core functionality used by
73 modules that may not be selectable in this config.
74
75 Unless you are building a GKI kernel to be used with modules
76 built from a different config, say N here.