1config 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_SHMEM_HELPER if (DRM) 5 select DRM_GEM_CMA_HELPER 6 select DRM_KMS_CMA_HELPER 7 select DRM_MIPI_DSI 8 select DRM_TTM if (HAS_IOMEM && DRM) 9 select VIDEOMODE_HELPERS 10 select WANT_DEV_COREDUMP 11 select INTERVAL_TREE 12 help 13 Dummy config option used to enable hidden DRM configs. 14 These are normally selected implicitly when including a 15 DRM module, but for GKI, the modules are built out-of-tree. 16 17config GKI_HIDDEN_REGMAP_CONFIGS 18 bool "Hidden Regmap configs needed for GKI" 19 select REGMAP_IRQ 20 select REGMAP_MMIO 21 select REGMAP_SPMI 22 select SPMI 23 help 24 Dummy config option used to enable hidden regmap configs. 25 These are normally selected implicitly when a module 26 that relies on it is configured. 27 28config GKI_HIDDEN_CRYPTO_CONFIGS 29 bool "Hidden CRYPTO configs needed for GKI" 30 select CRYPTO_ENGINE 31 help 32 Dummy config option used to enable hidden CRYPTO configs. 33 These are normally selected implicitly when a module 34 that relies on it is configured. 35 36config GKI_HIDDEN_SND_CONFIGS 37 bool "Hidden SND configs needed for GKI" 38 select SND_VMASTER 39 select SND_PCM_ELD 40 select SND_JACK 41 select SND_JACK_INPUT_DEV 42 select SND_INTEL_NHLT if (ACPI) 43 help 44 Dummy config option used to enable hidden SND configs. 45 These are normally selected implicitly when a module 46 that relies on it is configured. 47 48config GKI_HIDDEN_SND_SOC_CONFIGS 49 bool "Hidden SND_SOC configs needed for GKI" 50 select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND) 51 select SND_PCM_IEC958 52 select SND_SOC_COMPRESS if (SND_SOC && SND) 53 select SND_SOC_TOPOLOGY if (SND_SOC && SND) 54 select DMADEVICES 55 select DMA_VIRTUAL_CHANNELS 56 help 57 Dummy config option used to enable hidden SND_SOC configs. 58 These are normally selected implicitly when a module 59 that relies on it is configured. 60 61config GKI_HIDDEN_MMC_CONFIGS 62 bool "Hidden MMC configs needed for GKI" 63 select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI) 64 help 65 Dummy config option used to enable hidden MMC configs. 66 These are normally selected implicitly when a module 67 that relies on it is configured. 68 69config GKI_HIDDEN_GPIO_CONFIGS 70 bool "Hidden GPIO configs needed for GKI" 71 select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM) 72 select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB) 73 help 74 Dummy config option used to enable hidden GPIO configs. 75 These are normally selected implicitly when a module 76 that relies on it is configured. 77 78config GKI_HIDDEN_QCOM_CONFIGS 79 bool "Hidden QCOM configs needed for GKI" 80 select QCOM_SMEM_STATE 81 select QCOM_GDSC if (ARCH_QCOM) 82 select IOMMU_IO_PGTABLE_LPAE if (ARCH_QCOM) 83 84 help 85 Dummy config option used to enable hidden QCOM configs. 86 These are normally selected implicitly when a module 87 that relies on it is configured. 88 89config GKI_HIDDEN_MEDIA_CONFIGS 90 bool "Hidden Media configs needed for GKI" 91 select VIDEOBUF2_CORE 92 select V4L2_MEM2MEM_DEV 93 select MEDIA_CONTROLLER 94 select MEDIA_CONTROLLER_REQUEST_API 95 select MEDIA_SUPPORT 96 select FRAME_VECTOR 97 select CEC_CORE 98 select CEC_NOTIFIER 99 select CEC_PIN 100 select VIDEOBUF2_DMA_CONTIG 101 select VIDEOBUF2_DMA_SG 102 help 103 Dummy config option used to enable hidden media configs. 104 These are normally selected implicitly when a module 105 that relies on it is configured. 106 107config GKI_HIDDEN_VIRTUAL_CONFIGS 108 bool "Hidden Virtual configs needed for GKI" 109 select HVC_DRIVER 110 help 111 Dummy config option used to enable hidden virtual device configs. 112 These are normally selected implicitly when a module 113 that relies on it is configured. 114 115# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique 116# problem for GKI to solve. It should be noted that these extensions are 117# in-effect deprecated and generally unsupported and we should pressure 118# the SOC vendors to drop any modules that require these extensions. 119config GKI_LEGACY_WEXT_ALLCONFIG 120 bool "Hidden wireless extension configs needed for GKI" 121 select WIRELESS_EXT 122 select WEXT_CORE 123 select WEXT_PROC 124 select WEXT_SPY 125 select WEXT_PRIV 126 help 127 Dummy config option used to enable all the hidden legacy wireless 128 extensions to the core wireless network functionality used by 129 add-in modules. 130 131 If you are not building a kernel to be used for a variety of 132 out-of-kernel built wireless modules, say N here. 133 134config GKI_HIDDEN_USB_CONFIGS 135 bool "Hiddel USB configurations needed for GKI" 136 select USB_PHY 137 help 138 Dummy config option used to enable all USB related hidden configs. 139 These configurations are usually only selected by another config 140 option or a combination of them. 141 142 If you are not building a kernel to be used for a variety of 143 out-of-kernel build USB drivers, say N here. 144 145config GKI_HIDDEN_SOC_BUS_CONFIGS 146 bool "Hidden SoC bus configuration needed for GKI" 147 select SOC_BUS 148 help 149 Dummy config option used to enable SOC_BUS hidden Kconfig. 150 The configuration is required for SoCs to register themselves to the bus. 151 152 If you are not building a kernel to be used for a variety of SoCs and 153 out-of-tree drivers, say N here. 154 155config GKI_HIDDEN_RPMSG_CONFIGS 156 bool "Hidden RPMSG configuration needed for GKI" 157 select RPMSG 158 help 159 Dummy config option used to enable the hidden RPMSG config. 160 This configuration is usually only selected by another config 161 option or a combination of them. 162 163 If you are not building a kernel to be used for a variety of 164 out-of-kernel build RPMSG drivers, say N here. 165 166config GKI_HIDDEN_GPU_CONFIGS 167 bool "Hidden GPU configuration needed for GKI" 168 select TRACE_GPU_MEM 169 help 170 Dummy config option used to enable the hidden GPU config. 171 These are normally selected implicitly when a module 172 that relies on it is configured. 173 174config GKI_HIDDEN_IRQ_CONFIGS 175 bool "Hidden IRQ configuration needed for GKI" 176 select GENERIC_IRQ_CHIP 177 select IRQ_DOMAIN_HIERARCHY 178 select IRQ_FASTEOI_HIERARCHY_HANDLERS 179 help 180 Dummy config option used to enable GENERIC_IRQ_CHIP hidden 181 config, required by various SoC platforms. This is usually 182 selected by ARCH_*. 183 184config GKI_HIDDEN_HYPERVISOR_CONFIGS 185 bool "Hidden hypervisor configuration needed for GKI" 186 select SYS_HYPERVISOR 187 help 188 Dummy config option used to enable the SYS_HYPERVISOR hidden 189 config, required by various SoC platforms. This is usually 190 selected by XEN or S390. 191 192config GKI_HIDDEN_NET_CONFIGS 193 bool "Hidden networking configuration needed for GKI" 194 select PAGE_POOL 195 select NET_PTP_CLASSIFY 196 help 197 Dummy config option used to enable the networking hidden 198 config, required by various SoC platforms. 199 200config GKI_HIDDEN_PHY_CONFIGS 201 bool "Hidden PHY configuration needed for GKI" 202 select GENERIC_PHY_MIPI_DPHY 203 help 204 Dummy config option used to enable the hidden PHY configs, 205 required by various SoC platforms. 206 207config GKI_HIDDEN_MM_CONFIGS 208 bool "Hidden MM configuration needed for GKI" 209 select PAGE_REPORTING 210 select BALLOON_COMPACTION 211 select MEMORY_BALLOON 212 help 213 Dummy config option used to enable hidden MM configs, 214 currently required for VIRTIO_BALLOON 215 216config GKI_HIDDEN_ETHERNET_CONFIGS 217 bool "Hidden Ethernet configuration needed for GKI" 218 select PHYLINK 219 help 220 Dummy config option used to enable the hidden Ethernet PHYLINK 221 configs, required by various ethernet devices. 222 223config GKI_HIDDEN_DMA_CONFIGS 224 bool "Hidden DMA configuration needed for GKI" 225 select ASYNC_TX_ENABLE_CHANNEL_SWITCH 226 help 227 Dummy config option used to enable the hidden DMA configs, 228 required by various SoC platforms. 229 230# Atrocities needed for 231# a) building GKI modules in separate tree, or 232# b) building drivers that are not modularizable 233# 234# All of these should be reworked into an upstream solution 235# if possible. 236# 237config GKI_HACKS_TO_FIX 238 bool "GKI Dummy config options" 239 select GKI_HIDDEN_CRYPTO_CONFIGS 240 select GKI_HIDDEN_DRM_CONFIGS 241 select GKI_HIDDEN_REGMAP_CONFIGS 242 select GKI_HIDDEN_SND_CONFIGS 243 select GKI_HIDDEN_SND_SOC_CONFIGS 244 select GKI_HIDDEN_MMC_CONFIGS 245 select GKI_HIDDEN_GPIO_CONFIGS 246 select GKI_HIDDEN_QCOM_CONFIGS 247 select GKI_LEGACY_WEXT_ALLCONFIG 248 select GKI_HIDDEN_MEDIA_CONFIGS 249 select GKI_HIDDEN_VIRTUAL_CONFIGS 250 select GKI_HIDDEN_USB_CONFIGS 251 select GKI_HIDDEN_SOC_BUS_CONFIGS 252 select GKI_HIDDEN_RPMSG_CONFIGS 253 select GKI_HIDDEN_GPU_CONFIGS 254 select GKI_HIDDEN_IRQ_CONFIGS 255 select GKI_HIDDEN_HYPERVISOR_CONFIGS 256 select GKI_HIDDEN_NET_CONFIGS 257 select GKI_HIDDEN_PHY_CONFIGS 258 select GKI_HIDDEN_MM_CONFIGS 259 select GKI_HIDDEN_ETHERNET_CONFIGS 260 select GKI_HIDDEN_DMA_CONFIGS 261 262 help 263 Dummy config option used to enable core functionality used by 264 modules that may not be selectable in this config. 265 266 Unless you are building a GKI kernel to be used with modules 267 built from a different config, say N here. 268