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) |
| 4 | select DRM_GEM_CMA_HELPER |
| 5 | select DRM_KMS_CMA_HELPER |
| 6 | select DRM_MIPI_DSI |
John Stultz | 26a9b13 | 2019-10-22 23:48:02 +0000 | [diff] [blame] | 7 | select SND_PCM_ELD |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 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 | |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 13 | config GKI_HIDDEN_REGMAP_CONFIGS |
| 14 | bool "Hidden Regmap configs needed for GKI" |
| 15 | select REGMAP_IRQ |
John Stultz | 146dc14 | 2019-10-09 23:11:38 +0000 | [diff] [blame] | 16 | select REGMAP_MMIO |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 17 | 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 Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 22 | config 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 Stultz | b4750d3 | 2019-10-09 23:12:21 +0000 | [diff] [blame] | 25 | select SND_PCM_IEC958 |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 26 | 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 Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 31 | config 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 Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 39 | config 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 Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 48 | config 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 Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 56 | config GKI_HIDDEN_MEDIA_CONFIGS |
| 57 | bool "Hidden Media configs needed for GKI" |
| 58 | select VIDEOBUF2_CORE |
Todd Kjos | 5e3c82a | 2019-10-28 09:44:36 -0700 | [diff] [blame^] | 59 | select MEDIA_SUPPORT |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 60 | 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 Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 64 | |
Mark Salyzyn | 8a16734 | 2019-08-30 08:23:25 -0700 | [diff] [blame] | 65 | # 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. |
| 69 | config 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 Kjos | 2de45b6 | 2019-08-28 15:52:02 -0700 | [diff] [blame] | 84 | # 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 | # |
| 91 | config GKI_HACKS_TO_FIX |
| 92 | bool "GKI Dummy config options" |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 93 | select GKI_HIDDEN_DRM_CONFIGS |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 94 | select GKI_HIDDEN_REGMAP_CONFIGS |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 95 | select GKI_HIDDEN_SND_SOC_CONFIGS |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 96 | select GKI_HIDDEN_MMC_CONFIGS |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 97 | select GKI_HIDDEN_GPIO_CONFIGS |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 98 | select GKI_HIDDEN_QCOM_CONFIGS |
Mark Salyzyn | 8a16734 | 2019-08-30 08:23:25 -0700 | [diff] [blame] | 99 | select GKI_LEGACY_WEXT_ALLCONFIG |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 100 | select GKI_HIDDEN_MEDIA_CONFIGS |
Todd Kjos | 2de45b6 | 2019-08-28 15:52:02 -0700 | [diff] [blame] | 101 | 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. |