Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 1 | config GKI_HIDDEN_DRM_CONFIGS |
| 2 | bool "Hidden DRM configs needed for GKI" |
| 3 | select DRM_KMS_HELPER if (HAS_IOMEM && DRM) |
Ram Muthiah | 358c6ef | 2020-01-31 18:59:11 -0800 | [diff] [blame] | 4 | select DRM_GEM_SHMEM_HELPER if (DRM) |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 5 | select DRM_GEM_CMA_HELPER |
| 6 | select DRM_KMS_CMA_HELPER |
| 7 | select DRM_MIPI_DSI |
Lingfeng Yang | 51c9ed8 | 2020-04-15 13:50:41 -0700 | [diff] [blame] | 8 | select DRM_TTM if (HAS_IOMEM && DRM) |
Orson Zhai | 7204b56 | 2019-12-24 17:27:54 +0800 | [diff] [blame] | 9 | select VIDEOMODE_HELPERS |
John Stultz | b868669 | 2019-12-05 01:42:25 +0000 | [diff] [blame] | 10 | select WANT_DEV_COREDUMP |
Todd Kjos | cc7e567 | 2020-06-24 15:27:38 -0700 | [diff] [blame] | 11 | select INTERVAL_TREE |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 12 | help |
| 13 | Dummy config option used to enable hidden DRM configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 14 | These are normally selected implicitly when including a |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 15 | DRM module, but for GKI, the modules are built out-of-tree. |
| 16 | |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 17 | config GKI_HIDDEN_REGMAP_CONFIGS |
| 18 | bool "Hidden Regmap configs needed for GKI" |
| 19 | select REGMAP_IRQ |
John Stultz | 146dc14 | 2019-10-09 23:11:38 +0000 | [diff] [blame] | 20 | select REGMAP_MMIO |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 21 | help |
| 22 | Dummy config option used to enable hidden regmap configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 23 | These are normally selected implicitly when a module |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 24 | that relies on it is configured. |
| 25 | |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 26 | config GKI_HIDDEN_CRYPTO_CONFIGS |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 27 | bool "Hidden CRYPTO configs needed for GKI" |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 28 | select CRYPTO_ENGINE |
| 29 | help |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 30 | Dummy config option used to enable hidden CRYPTO configs. |
| 31 | These are normally selected implicitly when a module |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 32 | that relies on it is configured. |
| 33 | |
| 34 | config GKI_HIDDEN_SND_CONFIGS |
| 35 | bool "Hidden SND configs needed for GKI" |
| 36 | select SND_VMASTER |
Ram Muthiah | 759fcb5 | 2020-03-02 16:51:40 -0800 | [diff] [blame] | 37 | select SND_PCM_ELD |
Ram Muthiah | 1e702f4 | 2020-03-02 16:28:03 -0800 | [diff] [blame] | 38 | select SND_JACK |
| 39 | select SND_JACK_INPUT_DEV |
Ram Muthiah | 759fcb5 | 2020-03-02 16:51:40 -0800 | [diff] [blame] | 40 | select SND_INTEL_NHLT if (ACPI) |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 41 | help |
| 42 | Dummy config option used to enable hidden SND configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 43 | These are normally selected implicitly when a module |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 44 | that relies on it is configured. |
| 45 | |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 46 | config GKI_HIDDEN_SND_SOC_CONFIGS |
| 47 | bool "Hidden SND_SOC configs needed for GKI" |
| 48 | select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND) |
John Stultz | b4750d3 | 2019-10-09 23:12:21 +0000 | [diff] [blame] | 49 | select SND_PCM_IEC958 |
Todd Kjos | 0cb380b | 2019-11-07 11:17:41 -0800 | [diff] [blame] | 50 | select SND_SOC_COMPRESS if (SND_SOC && SND) |
zhang sanshan | c8c2f19 | 2020-07-06 18:57:52 +0800 | [diff] [blame] | 51 | select DMA_VIRTUAL_CHANNELS |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 52 | help |
| 53 | Dummy config option used to enable hidden SND_SOC configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 54 | These are normally selected implicitly when a module |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 55 | that relies on it is configured. |
| 56 | |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 57 | config GKI_HIDDEN_MMC_CONFIGS |
| 58 | bool "Hidden MMC configs needed for GKI" |
| 59 | select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI) |
| 60 | help |
| 61 | Dummy config option used to enable hidden MMC configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 62 | These are normally selected implicitly when a module |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 63 | that relies on it is configured. |
| 64 | |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 65 | config GKI_HIDDEN_GPIO_CONFIGS |
| 66 | bool "Hidden GPIO configs needed for GKI" |
| 67 | select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM) |
| 68 | select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB) |
| 69 | help |
| 70 | Dummy config option used to enable hidden GPIO configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 71 | These are normally selected implicitly when a module |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 72 | that relies on it is configured. |
| 73 | |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 74 | config GKI_HIDDEN_QCOM_CONFIGS |
| 75 | bool "Hidden QCOM configs needed for GKI" |
| 76 | select QCOM_SMEM_STATE |
John Stultz | a9d347b | 2020-02-13 22:52:08 +0000 | [diff] [blame] | 77 | select QCOM_GDSC if (ARCH_QCOM) |
John Stultz | 0c8ec66 | 2020-04-03 22:12:09 +0000 | [diff] [blame] | 78 | select IOMMU_IO_PGTABLE_LPAE if (ARCH_QCOM) |
| 79 | |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 80 | help |
| 81 | Dummy config option used to enable hidden QCOM configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 82 | These are normally selected implicitly when a module |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 83 | that relies on it is configured. |
| 84 | |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 85 | config GKI_HIDDEN_MEDIA_CONFIGS |
| 86 | bool "Hidden Media configs needed for GKI" |
| 87 | select VIDEOBUF2_CORE |
Maheshwar Ajja | 1d74cced | 2020-10-26 10:56:35 -0700 | [diff] [blame] | 88 | select V4L2_MEM2MEM_DEV |
| 89 | select MEDIA_CONTROLLER |
| 90 | select MEDIA_CONTROLLER_REQUEST_API |
Todd Kjos | 5e3c82a | 2019-10-28 09:44:36 -0700 | [diff] [blame] | 91 | select MEDIA_SUPPORT |
Todd Kjos | 601fce5 | 2020-03-13 16:24:20 -0700 | [diff] [blame] | 92 | select FRAME_VECTOR |
Alistair Delva | 2886a3b | 2020-08-17 09:39:47 -0700 | [diff] [blame] | 93 | select CEC_CORE |
| 94 | select CEC_NOTIFIER |
| 95 | select CEC_PIN |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 96 | help |
| 97 | Dummy config option used to enable hidden media configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 98 | These are normally selected implicitly when a module |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 99 | that relies on it is configured. |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 100 | |
Ram Muthiah | 180e815 | 2020-03-03 13:30:16 -0800 | [diff] [blame] | 101 | config GKI_HIDDEN_VIRTUAL_CONFIGS |
| 102 | bool "Hidden Virtual configs needed for GKI" |
| 103 | select HVC_DRIVER |
| 104 | help |
| 105 | Dummy config option used to enable hidden virtual device configs. |
| 106 | These are normally selected implicitly when a module |
| 107 | that relies on it is configured. |
| 108 | |
Mark Salyzyn | 8a16734 | 2019-08-30 08:23:25 -0700 | [diff] [blame] | 109 | # LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique |
| 110 | # problem for GKI to solve. It should be noted that these extensions are |
| 111 | # in-effect deprecated and generally unsupported and we should pressure |
| 112 | # the SOC vendors to drop any modules that require these extensions. |
| 113 | config GKI_LEGACY_WEXT_ALLCONFIG |
| 114 | bool "Hidden wireless extension configs needed for GKI" |
| 115 | select WIRELESS_EXT |
| 116 | select WEXT_CORE |
| 117 | select WEXT_PROC |
| 118 | select WEXT_SPY |
| 119 | select WEXT_PRIV |
| 120 | help |
| 121 | Dummy config option used to enable all the hidden legacy wireless |
| 122 | extensions to the core wireless network functionality used by |
| 123 | add-in modules. |
| 124 | |
| 125 | If you are not building a kernel to be used for a variety of |
| 126 | out-of-kernel built wireless modules, say N here. |
| 127 | |
Sandeep Patil | adb016d | 2020-03-19 18:18:41 -0700 | [diff] [blame] | 128 | config GKI_HIDDEN_USB_CONFIGS |
| 129 | bool "Hiddel USB configurations needed for GKI" |
| 130 | select USB_PHY |
| 131 | help |
| 132 | Dummy config option used to enable all USB related hidden configs. |
| 133 | These configurations are usually only selected by another config |
| 134 | option or a combination of them. |
| 135 | |
| 136 | If you are not building a kernel to be used for a variety of |
| 137 | out-of-kernel build USB drivers, say N here. |
| 138 | |
Sandeep Patil | 4fbd0d3c1 | 2020-03-23 20:40:00 -0700 | [diff] [blame] | 139 | config GKI_HIDDEN_SOC_BUS_CONFIGS |
| 140 | bool "Hidden SoC bus configuration needed for GKI" |
| 141 | select SOC_BUS |
| 142 | help |
| 143 | Dummy config option used to enable SOC_BUS hidden Kconfig. |
| 144 | The configuration is required for SoCs to register themselves to the bus. |
| 145 | |
| 146 | If you are not building a kernel to be used for a variety of SoCs and |
| 147 | out-of-tree drivers, say N here. |
| 148 | |
Alistair Delva | 82e1d3a | 2020-03-27 10:18:41 -0700 | [diff] [blame] | 149 | config GKI_HIDDEN_RPMSG_CONFIGS |
| 150 | bool "Hidden RPMSG configuration needed for GKI" |
| 151 | select RPMSG |
| 152 | help |
| 153 | Dummy config option used to enable the hidden RPMSG config. |
| 154 | This configuration is usually only selected by another config |
| 155 | option or a combination of them. |
| 156 | |
| 157 | If you are not building a kernel to be used for a variety of |
| 158 | out-of-kernel build RPMSG drivers, say N here. |
| 159 | |
Yiwei Zhang | ef683a4 | 2020-04-21 17:54:15 -0700 | [diff] [blame] | 160 | config GKI_HIDDEN_GPU_CONFIGS |
| 161 | bool "Hidden GPU configuration needed for GKI" |
| 162 | select TRACE_GPU_MEM |
| 163 | help |
| 164 | Dummy config option used to enable the hidden GPU config. |
| 165 | These are normally selected implicitly when a module |
| 166 | that relies on it is configured. |
| 167 | |
Alistair Delva | 68e3e2e | 2020-04-27 08:54:47 -0700 | [diff] [blame] | 168 | config GKI_HIDDEN_IRQ_CONFIGS |
| 169 | bool "Hidden IRQ configuration needed for GKI" |
| 170 | select GENERIC_IRQ_CHIP |
John Stultz | fa5543e | 2020-08-04 00:48:52 +0000 | [diff] [blame] | 171 | select IRQ_DOMAIN_HIERARCHY |
| 172 | select IRQ_FASTEOI_HIERARCHY_HANDLERS |
Alistair Delva | 68e3e2e | 2020-04-27 08:54:47 -0700 | [diff] [blame] | 173 | help |
| 174 | Dummy config option used to enable GENERIC_IRQ_CHIP hidden |
| 175 | config, required by various SoC platforms. This is usually |
| 176 | selected by ARCH_*. |
| 177 | |
Alistair Delva | 7b8513e | 2020-06-02 09:21:55 -0700 | [diff] [blame] | 178 | config GKI_HIDDEN_HYPERVISOR_CONFIGS |
| 179 | bool "Hidden hypervisor configuration needed for GKI" |
| 180 | select SYS_HYPERVISOR |
| 181 | help |
| 182 | Dummy config option used to enable the SYS_HYPERVISOR hidden |
| 183 | config, required by various SoC platforms. This is usually |
| 184 | selected by XEN or S390. |
| 185 | |
Todd Kjos | 2de45b6 | 2019-08-28 15:52:02 -0700 | [diff] [blame] | 186 | # Atrocities needed for |
| 187 | # a) building GKI modules in separate tree, or |
| 188 | # b) building drivers that are not modularizable |
| 189 | # |
| 190 | # All of these should be reworked into an upstream solution |
| 191 | # if possible. |
| 192 | # |
| 193 | config GKI_HACKS_TO_FIX |
| 194 | bool "GKI Dummy config options" |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 195 | select GKI_HIDDEN_CRYPTO_CONFIGS |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 196 | select GKI_HIDDEN_DRM_CONFIGS |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 197 | select GKI_HIDDEN_REGMAP_CONFIGS |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 198 | select GKI_HIDDEN_SND_CONFIGS |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 199 | select GKI_HIDDEN_SND_SOC_CONFIGS |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 200 | select GKI_HIDDEN_MMC_CONFIGS |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 201 | select GKI_HIDDEN_GPIO_CONFIGS |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 202 | select GKI_HIDDEN_QCOM_CONFIGS |
Mark Salyzyn | 8a16734 | 2019-08-30 08:23:25 -0700 | [diff] [blame] | 203 | select GKI_LEGACY_WEXT_ALLCONFIG |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 204 | select GKI_HIDDEN_MEDIA_CONFIGS |
Ram Muthiah | 180e815 | 2020-03-03 13:30:16 -0800 | [diff] [blame] | 205 | select GKI_HIDDEN_VIRTUAL_CONFIGS |
Sandeep Patil | adb016d | 2020-03-19 18:18:41 -0700 | [diff] [blame] | 206 | select GKI_HIDDEN_USB_CONFIGS |
Sandeep Patil | 4fbd0d3c1 | 2020-03-23 20:40:00 -0700 | [diff] [blame] | 207 | select GKI_HIDDEN_SOC_BUS_CONFIGS |
Alistair Delva | 82e1d3a | 2020-03-27 10:18:41 -0700 | [diff] [blame] | 208 | select GKI_HIDDEN_RPMSG_CONFIGS |
Yiwei Zhang | ef683a4 | 2020-04-21 17:54:15 -0700 | [diff] [blame] | 209 | select GKI_HIDDEN_GPU_CONFIGS |
Alistair Delva | 68e3e2e | 2020-04-27 08:54:47 -0700 | [diff] [blame] | 210 | select GKI_HIDDEN_IRQ_CONFIGS |
Alistair Delva | 7b8513e | 2020-06-02 09:21:55 -0700 | [diff] [blame] | 211 | select GKI_HIDDEN_HYPERVISOR_CONFIGS |
Todd Kjos | 2de45b6 | 2019-08-28 15:52:02 -0700 | [diff] [blame] | 212 | help |
| 213 | Dummy config option used to enable core functionality used by |
| 214 | modules that may not be selectable in this config. |
| 215 | |
| 216 | Unless you are building a GKI kernel to be used with modules |
| 217 | built from a different config, say N here. |