blob: ae1457d07e78749521c358d113b20a74ba7cfcf0 [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
Orson Zhai7204b562019-12-24 17:27:54 +08008 select VIDEOMODE_HELPERS
John Stultzb8686692019-12-05 01:42:25 +00009 select WANT_DEV_COREDUMP
Todd Kjosf7fba402019-09-17 14:36:04 -070010 help
11 Dummy config option used to enable hidden DRM configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080012 These are normally selected implicitly when including a
Todd Kjosf7fba402019-09-17 14:36:04 -070013 DRM module, but for GKI, the modules are built out-of-tree.
14
Todd Kjos452316b2019-09-17 15:38:05 -070015config GKI_HIDDEN_REGMAP_CONFIGS
16 bool "Hidden Regmap configs needed for GKI"
17 select REGMAP_IRQ
John Stultz146dc142019-10-09 23:11:38 +000018 select REGMAP_MMIO
Todd Kjos452316b2019-09-17 15:38:05 -070019 help
20 Dummy config option used to enable hidden regmap configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080021 These are normally selected implicitly when a module
Todd Kjos452316b2019-09-17 15:38:05 -070022 that relies on it is configured.
23
Ram Muthiah77002c32020-01-28 16:11:56 -080024config GKI_HIDDEN_CRYPTO_CONFIGS
Ram Muthiah48e48812020-01-29 11:27:23 -080025 bool "Hidden CRYPTO configs needed for GKI"
Ram Muthiah77002c32020-01-28 16:11:56 -080026 select CRYPTO_ENGINE
27 help
Ram Muthiah48e48812020-01-29 11:27:23 -080028 Dummy config option used to enable hidden CRYPTO configs.
29 These are normally selected implicitly when a module
Ram Muthiah77002c32020-01-28 16:11:56 -080030 that relies on it is configured.
31
32config GKI_HIDDEN_SND_CONFIGS
33 bool "Hidden SND configs needed for GKI"
34 select SND_VMASTER
Ram Muthiah759fcb52020-03-02 16:51:40 -080035 select SND_PCM_ELD
36 select SND_INTEL_NHLT if (ACPI)
Ram Muthiah77002c32020-01-28 16:11:56 -080037 help
38 Dummy config option used to enable hidden SND configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080039 These are normally selected implicitly when a module
Ram Muthiah77002c32020-01-28 16:11:56 -080040 that relies on it is configured.
41
Todd Kjosdf32f052019-09-17 15:57:02 -070042config GKI_HIDDEN_SND_SOC_CONFIGS
43 bool "Hidden SND_SOC configs needed for GKI"
44 select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
John Stultzb4750d32019-10-09 23:12:21 +000045 select SND_PCM_IEC958
Todd Kjos0cb380b2019-11-07 11:17:41 -080046 select SND_SOC_COMPRESS if (SND_SOC && SND)
Todd Kjosdf32f052019-09-17 15:57:02 -070047 help
48 Dummy config option used to enable hidden SND_SOC configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080049 These are normally selected implicitly when a module
Todd Kjosdf32f052019-09-17 15:57:02 -070050 that relies on it is configured.
51
John Stultza025c3a2019-10-09 23:16:45 +000052config GKI_HIDDEN_MMC_CONFIGS
53 bool "Hidden MMC configs needed for GKI"
54 select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI)
55 help
56 Dummy config option used to enable hidden MMC configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080057 These are normally selected implicitly when a module
John Stultza025c3a2019-10-09 23:16:45 +000058 that relies on it is configured.
59
Todd Kjosf91b8072019-09-17 16:19:15 -070060config GKI_HIDDEN_GPIO_CONFIGS
61 bool "Hidden GPIO configs needed for GKI"
62 select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
63 select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
64 help
65 Dummy config option used to enable hidden GPIO configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080066 These are normally selected implicitly when a module
Todd Kjosf91b8072019-09-17 16:19:15 -070067 that relies on it is configured.
68
John Stultz612b6ac2019-10-09 23:13:39 +000069config GKI_HIDDEN_QCOM_CONFIGS
70 bool "Hidden QCOM configs needed for GKI"
71 select QCOM_SMEM_STATE
John Stultz1955a782020-01-09 19:12:25 +000072 select QCOM_SCM if (ARM64)
John Stultza9d347b2020-02-13 22:52:08 +000073 select QCOM_GDSC if (ARCH_QCOM)
John Stultz609922b2019-11-20 18:03:34 +000074 select PINCTRL_MSM if (PINCTRL && ARCH_QCOM)
John Stultz612b6ac2019-10-09 23:13:39 +000075 help
76 Dummy config option used to enable hidden QCOM configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080077 These are normally selected implicitly when a module
John Stultz612b6ac2019-10-09 23:13:39 +000078 that relies on it is configured.
79
John Stultzebb5db12019-12-17 19:58:47 +000080config GKI_QCOM_CLKS_CONFIGS
81 bool "QCOM clk drivers needed for GKI due to powerdomain restrictions"
John Stultzebb5db12019-12-17 19:58:47 +000082 select QCOM_RPMHPD if (ARCH_QCOM)
83 help
84 This config option selects various QCOM clk drivers that
85 cannot be built as a module currently due to power-domain
86 deferred probing limitations.
87 See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e01afc32502555beb2057ddd74401be38475d851
88
Todd Kjos64923892019-10-25 11:39:57 -070089config GKI_HIDDEN_MEDIA_CONFIGS
90 bool "Hidden Media configs needed for GKI"
91 select VIDEOBUF2_CORE
Todd Kjos5e3c82a2019-10-28 09:44:36 -070092 select MEDIA_SUPPORT
Todd Kjos64923892019-10-25 11:39:57 -070093 help
94 Dummy config option used to enable hidden media configs.
Ram Muthiah48e48812020-01-29 11:27:23 -080095 These are normally selected implicitly when a module
Todd Kjos64923892019-10-25 11:39:57 -070096 that relies on it is configured.
John Stultz612b6ac2019-10-09 23:13:39 +000097
Mark Salyzyn8a167342019-08-30 08:23:25 -070098# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
99# problem for GKI to solve. It should be noted that these extensions are
100# in-effect deprecated and generally unsupported and we should pressure
101# the SOC vendors to drop any modules that require these extensions.
102config GKI_LEGACY_WEXT_ALLCONFIG
103 bool "Hidden wireless extension configs needed for GKI"
104 select WIRELESS_EXT
105 select WEXT_CORE
106 select WEXT_PROC
107 select WEXT_SPY
108 select WEXT_PRIV
109 help
110 Dummy config option used to enable all the hidden legacy wireless
111 extensions to the core wireless network functionality used by
112 add-in modules.
113
114 If you are not building a kernel to be used for a variety of
115 out-of-kernel built wireless modules, say N here.
116
Todd Kjos2de45b62019-08-28 15:52:02 -0700117# Atrocities needed for
118# a) building GKI modules in separate tree, or
119# b) building drivers that are not modularizable
120#
121# All of these should be reworked into an upstream solution
122# if possible.
123#
124config GKI_HACKS_TO_FIX
125 bool "GKI Dummy config options"
Ram Muthiah77002c32020-01-28 16:11:56 -0800126 select GKI_HIDDEN_CRYPTO_CONFIGS
Todd Kjosf7fba402019-09-17 14:36:04 -0700127 select GKI_HIDDEN_DRM_CONFIGS
Todd Kjos452316b2019-09-17 15:38:05 -0700128 select GKI_HIDDEN_REGMAP_CONFIGS
Ram Muthiah77002c32020-01-28 16:11:56 -0800129 select GKI_HIDDEN_SND_CONFIGS
Todd Kjosdf32f052019-09-17 15:57:02 -0700130 select GKI_HIDDEN_SND_SOC_CONFIGS
John Stultza025c3a2019-10-09 23:16:45 +0000131 select GKI_HIDDEN_MMC_CONFIGS
Todd Kjosf91b8072019-09-17 16:19:15 -0700132 select GKI_HIDDEN_GPIO_CONFIGS
John Stultz612b6ac2019-10-09 23:13:39 +0000133 select GKI_HIDDEN_QCOM_CONFIGS
Mark Salyzyn8a167342019-08-30 08:23:25 -0700134 select GKI_LEGACY_WEXT_ALLCONFIG
Todd Kjos64923892019-10-25 11:39:57 -0700135 select GKI_HIDDEN_MEDIA_CONFIGS
John Stultzebb5db12019-12-17 19:58:47 +0000136 select GKI_QCOM_CLKS_CONFIGS
Todd Kjos2de45b62019-08-28 15:52:02 -0700137 help
138 Dummy config option used to enable core functionality used by
139 modules that may not be selectable in this config.
140
141 Unless you are building a GKI kernel to be used with modules
142 built from a different config, say N here.