2019-09-18 06:36:04 +09:00
|
|
|
config GKI_HIDDEN_DRM_CONFIGS
|
|
|
|
bool "Hidden DRM configs needed for GKI"
|
|
|
|
select DRM_KMS_HELPER if (HAS_IOMEM && DRM)
|
|
|
|
select DRM_GEM_CMA_HELPER
|
|
|
|
select DRM_KMS_CMA_HELPER
|
|
|
|
select DRM_MIPI_DSI
|
2019-10-23 08:48:02 +09:00
|
|
|
select SND_PCM_ELD
|
2019-12-24 18:27:54 +09:00
|
|
|
select VIDEOMODE_HELPERS
|
2019-12-05 10:42:25 +09:00
|
|
|
select WANT_DEV_COREDUMP
|
2019-09-18 06:36:04 +09:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden DRM configs.
|
2020-01-30 04:27:23 +09:00
|
|
|
These are normally selected implicitly when including a
|
2019-09-18 06:36:04 +09:00
|
|
|
DRM module, but for GKI, the modules are built out-of-tree.
|
|
|
|
|
2019-09-18 07:38:05 +09:00
|
|
|
config GKI_HIDDEN_REGMAP_CONFIGS
|
|
|
|
bool "Hidden Regmap configs needed for GKI"
|
|
|
|
select REGMAP_IRQ
|
2019-10-10 08:11:38 +09:00
|
|
|
select REGMAP_MMIO
|
2019-09-18 07:38:05 +09:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden regmap configs.
|
2020-01-30 04:27:23 +09:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-18 07:38:05 +09:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2020-01-29 09:11:56 +09:00
|
|
|
config GKI_HIDDEN_CRYPTO_CONFIGS
|
2020-01-30 04:27:23 +09:00
|
|
|
bool "Hidden CRYPTO configs needed for GKI"
|
2020-01-29 09:11:56 +09:00
|
|
|
select CRYPTO_ENGINE
|
|
|
|
help
|
2020-01-30 04:27:23 +09:00
|
|
|
Dummy config option used to enable hidden CRYPTO configs.
|
|
|
|
These are normally selected implicitly when a module
|
2020-01-29 09:11:56 +09:00
|
|
|
that relies on it is configured.
|
|
|
|
|
|
|
|
config GKI_HIDDEN_SND_CONFIGS
|
|
|
|
bool "Hidden SND configs needed for GKI"
|
|
|
|
select SND_VMASTER
|
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden SND configs.
|
2020-01-30 04:27:23 +09:00
|
|
|
These are normally selected implicitly when a module
|
2020-01-29 09:11:56 +09:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-09-18 07:57:02 +09:00
|
|
|
config GKI_HIDDEN_SND_SOC_CONFIGS
|
|
|
|
bool "Hidden SND_SOC configs needed for GKI"
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
|
2019-10-10 08:12:21 +09:00
|
|
|
select SND_PCM_IEC958
|
2019-11-08 04:17:41 +09:00
|
|
|
select SND_SOC_COMPRESS if (SND_SOC && SND)
|
2019-09-18 07:57:02 +09:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden SND_SOC configs.
|
2020-01-30 04:27:23 +09:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-18 07:57:02 +09:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-10-10 08:16:45 +09:00
|
|
|
config GKI_HIDDEN_MMC_CONFIGS
|
|
|
|
bool "Hidden MMC configs needed for GKI"
|
|
|
|
select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI)
|
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden MMC configs.
|
2020-01-30 04:27:23 +09:00
|
|
|
These are normally selected implicitly when a module
|
2019-10-10 08:16:45 +09:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-09-18 08:19:15 +09:00
|
|
|
config GKI_HIDDEN_GPIO_CONFIGS
|
|
|
|
bool "Hidden GPIO configs needed for GKI"
|
|
|
|
select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
|
|
|
|
select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
|
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden GPIO configs.
|
2020-01-30 04:27:23 +09:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-18 08:19:15 +09:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-10-10 08:13:39 +09:00
|
|
|
config GKI_HIDDEN_QCOM_CONFIGS
|
|
|
|
bool "Hidden QCOM configs needed for GKI"
|
|
|
|
select QCOM_SMEM_STATE
|
2020-01-10 04:12:25 +09:00
|
|
|
select QCOM_SCM if (ARM64)
|
2019-11-21 03:03:34 +09:00
|
|
|
select PINCTRL_MSM if (PINCTRL && ARCH_QCOM)
|
2019-10-10 08:13:39 +09:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden QCOM configs.
|
2020-01-30 04:27:23 +09:00
|
|
|
These are normally selected implicitly when a module
|
2019-10-10 08:13:39 +09:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-12-18 04:58:47 +09:00
|
|
|
config GKI_QCOM_CLKS_CONFIGS
|
|
|
|
bool "QCOM clk drivers needed for GKI due to powerdomain restrictions"
|
|
|
|
select COMMON_CLK_QCOM if (ARCH_QCOM)
|
|
|
|
select QCOM_CLK_RPMH if (ARCH_QCOM)
|
|
|
|
select SDM_GPUCC_845 if (ARCH_QCOM)
|
|
|
|
select QCOM_RPMHPD if (ARCH_QCOM)
|
|
|
|
help
|
|
|
|
This config option selects various QCOM clk drivers that
|
|
|
|
cannot be built as a module currently due to power-domain
|
|
|
|
deferred probing limitations.
|
|
|
|
See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e01afc32502555beb2057ddd74401be38475d851
|
|
|
|
|
2019-10-26 03:39:57 +09:00
|
|
|
config GKI_HIDDEN_MEDIA_CONFIGS
|
|
|
|
bool "Hidden Media configs needed for GKI"
|
|
|
|
select VIDEOBUF2_CORE
|
2019-10-29 01:44:36 +09:00
|
|
|
select MEDIA_SUPPORT
|
2019-10-26 03:39:57 +09:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden media configs.
|
2020-01-30 04:27:23 +09:00
|
|
|
These are normally selected implicitly when a module
|
2019-10-26 03:39:57 +09:00
|
|
|
that relies on it is configured.
|
2019-10-10 08:13:39 +09:00
|
|
|
|
2019-08-31 00:23:25 +09:00
|
|
|
# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
|
|
|
|
# problem for GKI to solve. It should be noted that these extensions are
|
|
|
|
# in-effect deprecated and generally unsupported and we should pressure
|
|
|
|
# the SOC vendors to drop any modules that require these extensions.
|
|
|
|
config GKI_LEGACY_WEXT_ALLCONFIG
|
|
|
|
bool "Hidden wireless extension configs needed for GKI"
|
|
|
|
select WIRELESS_EXT
|
|
|
|
select WEXT_CORE
|
|
|
|
select WEXT_PROC
|
|
|
|
select WEXT_SPY
|
|
|
|
select WEXT_PRIV
|
|
|
|
help
|
|
|
|
Dummy config option used to enable all the hidden legacy wireless
|
|
|
|
extensions to the core wireless network functionality used by
|
|
|
|
add-in modules.
|
|
|
|
|
|
|
|
If you are not building a kernel to be used for a variety of
|
|
|
|
out-of-kernel built wireless modules, say N here.
|
|
|
|
|
2019-08-29 07:52:02 +09:00
|
|
|
# Atrocities needed for
|
|
|
|
# a) building GKI modules in separate tree, or
|
|
|
|
# b) building drivers that are not modularizable
|
|
|
|
#
|
|
|
|
# All of these should be reworked into an upstream solution
|
|
|
|
# if possible.
|
|
|
|
#
|
|
|
|
config GKI_HACKS_TO_FIX
|
|
|
|
bool "GKI Dummy config options"
|
2020-01-29 09:11:56 +09:00
|
|
|
select GKI_HIDDEN_CRYPTO_CONFIGS
|
2019-09-18 06:36:04 +09:00
|
|
|
select GKI_HIDDEN_DRM_CONFIGS
|
2019-09-18 07:38:05 +09:00
|
|
|
select GKI_HIDDEN_REGMAP_CONFIGS
|
2020-01-29 09:11:56 +09:00
|
|
|
select GKI_HIDDEN_SND_CONFIGS
|
2019-09-18 07:57:02 +09:00
|
|
|
select GKI_HIDDEN_SND_SOC_CONFIGS
|
2019-10-10 08:16:45 +09:00
|
|
|
select GKI_HIDDEN_MMC_CONFIGS
|
2019-09-18 08:19:15 +09:00
|
|
|
select GKI_HIDDEN_GPIO_CONFIGS
|
2019-10-10 08:13:39 +09:00
|
|
|
select GKI_HIDDEN_QCOM_CONFIGS
|
2019-08-31 00:23:25 +09:00
|
|
|
select GKI_LEGACY_WEXT_ALLCONFIG
|
2019-10-26 03:39:57 +09:00
|
|
|
select GKI_HIDDEN_MEDIA_CONFIGS
|
2019-12-18 04:58:47 +09:00
|
|
|
select GKI_QCOM_CLKS_CONFIGS
|
2019-08-29 07:52:02 +09:00
|
|
|
help
|
|
|
|
Dummy config option used to enable core functionality used by
|
|
|
|
modules that may not be selectable in this config.
|
|
|
|
|
|
|
|
Unless you are building a GKI kernel to be used with modules
|
|
|
|
built from a different config, say N here.
|