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 |
John Stultz | b868669 | 2019-12-05 01:42:25 +0000 | [diff] [blame] | 8 | select WANT_DEV_COREDUMP |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 9 | help |
| 10 | Dummy config option used to enable hidden DRM configs. |
| 11 | These are normally selected implicitely when including a |
| 12 | DRM module, but for GKI, the modules are built out-of-tree. |
| 13 | |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 14 | config GKI_HIDDEN_REGMAP_CONFIGS |
| 15 | bool "Hidden Regmap configs needed for GKI" |
| 16 | select REGMAP_IRQ |
John Stultz | 146dc14 | 2019-10-09 23:11:38 +0000 | [diff] [blame] | 17 | select REGMAP_MMIO |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 18 | help |
| 19 | Dummy config option used to enable hidden regmap configs. |
| 20 | These are normally selected implicitely when a module |
| 21 | that relies on it is configured. |
| 22 | |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 23 | config GKI_HIDDEN_SND_SOC_CONFIGS |
| 24 | bool "Hidden SND_SOC configs needed for GKI" |
| 25 | select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND) |
John Stultz | b4750d3 | 2019-10-09 23:12:21 +0000 | [diff] [blame] | 26 | select SND_PCM_IEC958 |
Todd Kjos | 0cb380b | 2019-11-07 11:17:41 -0800 | [diff] [blame] | 27 | select SND_SOC_COMPRESS if (SND_SOC && SND) |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 28 | help |
| 29 | Dummy config option used to enable hidden SND_SOC configs. |
| 30 | These are normally selected implicitely when a module |
| 31 | that relies on it is configured. |
| 32 | |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 33 | config GKI_HIDDEN_MMC_CONFIGS |
| 34 | bool "Hidden MMC configs needed for GKI" |
| 35 | select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI) |
| 36 | help |
| 37 | Dummy config option used to enable hidden MMC configs. |
| 38 | These are normally selected implicitely when a module |
| 39 | that relies on it is configured. |
| 40 | |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 41 | config GKI_HIDDEN_GPIO_CONFIGS |
| 42 | bool "Hidden GPIO configs needed for GKI" |
| 43 | select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM) |
| 44 | select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB) |
| 45 | help |
| 46 | Dummy config option used to enable hidden GPIO configs. |
| 47 | These are normally selected implicitely when a module |
| 48 | that relies on it is configured. |
| 49 | |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 50 | config GKI_HIDDEN_QCOM_CONFIGS |
| 51 | bool "Hidden QCOM configs needed for GKI" |
| 52 | select QCOM_SMEM_STATE |
John Stultz | 609922b | 2019-11-20 18:03:34 +0000 | [diff] [blame] | 53 | select PINCTRL_MSM if (PINCTRL && ARCH_QCOM) |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 54 | help |
| 55 | Dummy config option used to enable hidden QCOM configs. |
| 56 | These are normally selected implicitely when a module |
| 57 | that relies on it is configured. |
| 58 | |
John Stultz | ebb5db1 | 2019-12-17 19:58:47 +0000 | [diff] [blame^] | 59 | config GKI_QCOM_CLKS_CONFIGS |
| 60 | bool "QCOM clk drivers needed for GKI due to powerdomain restrictions" |
| 61 | select COMMON_CLK_QCOM if (ARCH_QCOM) |
| 62 | select QCOM_CLK_RPMH if (ARCH_QCOM) |
| 63 | select SDM_GPUCC_845 if (ARCH_QCOM) |
| 64 | select QCOM_RPMHPD if (ARCH_QCOM) |
| 65 | help |
| 66 | This config option selects various QCOM clk drivers that |
| 67 | cannot be built as a module currently due to power-domain |
| 68 | deferred probing limitations. |
| 69 | See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e01afc32502555beb2057ddd74401be38475d851 |
| 70 | |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 71 | config GKI_HIDDEN_MEDIA_CONFIGS |
| 72 | bool "Hidden Media configs needed for GKI" |
| 73 | select VIDEOBUF2_CORE |
Todd Kjos | 5e3c82a | 2019-10-28 09:44:36 -0700 | [diff] [blame] | 74 | select MEDIA_SUPPORT |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 75 | help |
| 76 | Dummy config option used to enable hidden media configs. |
| 77 | These are normally selected implicitely when a module |
| 78 | that relies on it is configured. |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 79 | |
Mark Salyzyn | 8a16734 | 2019-08-30 08:23:25 -0700 | [diff] [blame] | 80 | # LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique |
| 81 | # problem for GKI to solve. It should be noted that these extensions are |
| 82 | # in-effect deprecated and generally unsupported and we should pressure |
| 83 | # the SOC vendors to drop any modules that require these extensions. |
| 84 | config GKI_LEGACY_WEXT_ALLCONFIG |
| 85 | bool "Hidden wireless extension configs needed for GKI" |
| 86 | select WIRELESS_EXT |
| 87 | select WEXT_CORE |
| 88 | select WEXT_PROC |
| 89 | select WEXT_SPY |
| 90 | select WEXT_PRIV |
| 91 | help |
| 92 | Dummy config option used to enable all the hidden legacy wireless |
| 93 | extensions to the core wireless network functionality used by |
| 94 | add-in modules. |
| 95 | |
| 96 | If you are not building a kernel to be used for a variety of |
| 97 | out-of-kernel built wireless modules, say N here. |
| 98 | |
Todd Kjos | 2de45b6 | 2019-08-28 15:52:02 -0700 | [diff] [blame] | 99 | # Atrocities needed for |
| 100 | # a) building GKI modules in separate tree, or |
| 101 | # b) building drivers that are not modularizable |
| 102 | # |
| 103 | # All of these should be reworked into an upstream solution |
| 104 | # if possible. |
| 105 | # |
| 106 | config GKI_HACKS_TO_FIX |
| 107 | bool "GKI Dummy config options" |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 108 | select GKI_HIDDEN_DRM_CONFIGS |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 109 | select GKI_HIDDEN_REGMAP_CONFIGS |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 110 | select GKI_HIDDEN_SND_SOC_CONFIGS |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 111 | select GKI_HIDDEN_MMC_CONFIGS |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 112 | select GKI_HIDDEN_GPIO_CONFIGS |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 113 | select GKI_HIDDEN_QCOM_CONFIGS |
Mark Salyzyn | 8a16734 | 2019-08-30 08:23:25 -0700 | [diff] [blame] | 114 | select GKI_LEGACY_WEXT_ALLCONFIG |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 115 | select GKI_HIDDEN_MEDIA_CONFIGS |
John Stultz | ebb5db1 | 2019-12-17 19:58:47 +0000 | [diff] [blame^] | 116 | select GKI_QCOM_CLKS_CONFIGS |
Todd Kjos | 2de45b6 | 2019-08-28 15:52:02 -0700 | [diff] [blame] | 117 | help |
| 118 | Dummy config option used to enable core functionality used by |
| 119 | modules that may not be selectable in this config. |
| 120 | |
| 121 | Unless you are building a GKI kernel to be used with modules |
| 122 | built from a different config, say N here. |