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 |
Orson Zhai | 7204b56 | 2019-12-24 17:27:54 +0800 | [diff] [blame] | 8 | select VIDEOMODE_HELPERS |
John Stultz | b868669 | 2019-12-05 01:42:25 +0000 | [diff] [blame] | 9 | select WANT_DEV_COREDUMP |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 10 | help |
| 11 | Dummy config option used to enable hidden DRM configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 12 | These are normally selected implicitly when including a |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 13 | DRM module, but for GKI, the modules are built out-of-tree. |
| 14 | |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 15 | config GKI_HIDDEN_REGMAP_CONFIGS |
| 16 | bool "Hidden Regmap configs needed for GKI" |
| 17 | select REGMAP_IRQ |
John Stultz | 146dc14 | 2019-10-09 23:11:38 +0000 | [diff] [blame] | 18 | select REGMAP_MMIO |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 19 | help |
| 20 | Dummy config option used to enable hidden regmap configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 21 | These are normally selected implicitly when a module |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 22 | that relies on it is configured. |
| 23 | |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 24 | config GKI_HIDDEN_CRYPTO_CONFIGS |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 25 | bool "Hidden CRYPTO configs needed for GKI" |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 26 | select CRYPTO_ENGINE |
| 27 | help |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 28 | Dummy config option used to enable hidden CRYPTO configs. |
| 29 | These are normally selected implicitly when a module |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 30 | that relies on it is configured. |
| 31 | |
| 32 | config GKI_HIDDEN_SND_CONFIGS |
| 33 | bool "Hidden SND configs needed for GKI" |
| 34 | select SND_VMASTER |
Ram Muthiah | 759fcb5 | 2020-03-02 16:51:40 -0800 | [diff] [blame^] | 35 | select SND_PCM_ELD |
| 36 | select SND_INTEL_NHLT if (ACPI) |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 37 | help |
| 38 | Dummy config option used to enable hidden SND configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 39 | These are normally selected implicitly when a module |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 40 | that relies on it is configured. |
| 41 | |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 42 | config 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 Stultz | b4750d3 | 2019-10-09 23:12:21 +0000 | [diff] [blame] | 45 | select SND_PCM_IEC958 |
Todd Kjos | 0cb380b | 2019-11-07 11:17:41 -0800 | [diff] [blame] | 46 | select SND_SOC_COMPRESS if (SND_SOC && SND) |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 47 | help |
| 48 | Dummy config option used to enable hidden SND_SOC configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 49 | These are normally selected implicitly when a module |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 50 | that relies on it is configured. |
| 51 | |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 52 | config 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 Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 57 | These are normally selected implicitly when a module |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 58 | that relies on it is configured. |
| 59 | |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 60 | config 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 Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 66 | These are normally selected implicitly when a module |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 67 | that relies on it is configured. |
| 68 | |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 69 | config GKI_HIDDEN_QCOM_CONFIGS |
| 70 | bool "Hidden QCOM configs needed for GKI" |
| 71 | select QCOM_SMEM_STATE |
John Stultz | 1955a78 | 2020-01-09 19:12:25 +0000 | [diff] [blame] | 72 | select QCOM_SCM if (ARM64) |
John Stultz | a9d347b | 2020-02-13 22:52:08 +0000 | [diff] [blame] | 73 | select QCOM_GDSC if (ARCH_QCOM) |
John Stultz | 609922b | 2019-11-20 18:03:34 +0000 | [diff] [blame] | 74 | select PINCTRL_MSM if (PINCTRL && ARCH_QCOM) |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 75 | help |
| 76 | Dummy config option used to enable hidden QCOM configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 77 | These are normally selected implicitly when a module |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 78 | that relies on it is configured. |
| 79 | |
John Stultz | ebb5db1 | 2019-12-17 19:58:47 +0000 | [diff] [blame] | 80 | config GKI_QCOM_CLKS_CONFIGS |
| 81 | bool "QCOM clk drivers needed for GKI due to powerdomain restrictions" |
John Stultz | ebb5db1 | 2019-12-17 19:58:47 +0000 | [diff] [blame] | 82 | 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 Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 89 | config GKI_HIDDEN_MEDIA_CONFIGS |
| 90 | bool "Hidden Media configs needed for GKI" |
| 91 | select VIDEOBUF2_CORE |
Todd Kjos | 5e3c82a | 2019-10-28 09:44:36 -0700 | [diff] [blame] | 92 | select MEDIA_SUPPORT |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 93 | help |
| 94 | Dummy config option used to enable hidden media configs. |
Ram Muthiah | 48e4881 | 2020-01-29 11:27:23 -0800 | [diff] [blame] | 95 | These are normally selected implicitly when a module |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 96 | that relies on it is configured. |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 97 | |
Mark Salyzyn | 8a16734 | 2019-08-30 08:23:25 -0700 | [diff] [blame] | 98 | # 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. |
| 102 | config 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 Kjos | 2de45b6 | 2019-08-28 15:52:02 -0700 | [diff] [blame] | 117 | # 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 | # |
| 124 | config GKI_HACKS_TO_FIX |
| 125 | bool "GKI Dummy config options" |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 126 | select GKI_HIDDEN_CRYPTO_CONFIGS |
Todd Kjos | f7fba40 | 2019-09-17 14:36:04 -0700 | [diff] [blame] | 127 | select GKI_HIDDEN_DRM_CONFIGS |
Todd Kjos | 452316b | 2019-09-17 15:38:05 -0700 | [diff] [blame] | 128 | select GKI_HIDDEN_REGMAP_CONFIGS |
Ram Muthiah | 77002c3 | 2020-01-28 16:11:56 -0800 | [diff] [blame] | 129 | select GKI_HIDDEN_SND_CONFIGS |
Todd Kjos | df32f05 | 2019-09-17 15:57:02 -0700 | [diff] [blame] | 130 | select GKI_HIDDEN_SND_SOC_CONFIGS |
John Stultz | a025c3a | 2019-10-09 23:16:45 +0000 | [diff] [blame] | 131 | select GKI_HIDDEN_MMC_CONFIGS |
Todd Kjos | f91b807 | 2019-09-17 16:19:15 -0700 | [diff] [blame] | 132 | select GKI_HIDDEN_GPIO_CONFIGS |
John Stultz | 612b6ac | 2019-10-09 23:13:39 +0000 | [diff] [blame] | 133 | select GKI_HIDDEN_QCOM_CONFIGS |
Mark Salyzyn | 8a16734 | 2019-08-30 08:23:25 -0700 | [diff] [blame] | 134 | select GKI_LEGACY_WEXT_ALLCONFIG |
Todd Kjos | 6492389 | 2019-10-25 11:39:57 -0700 | [diff] [blame] | 135 | select GKI_HIDDEN_MEDIA_CONFIGS |
John Stultz | ebb5db1 | 2019-12-17 19:58:47 +0000 | [diff] [blame] | 136 | select GKI_QCOM_CLKS_CONFIGS |
Todd Kjos | 2de45b6 | 2019-08-28 15:52:02 -0700 | [diff] [blame] | 137 | 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. |