2019-09-18 05:36:04 +08:00
|
|
|
config GKI_HIDDEN_DRM_CONFIGS
|
|
|
|
bool "Hidden DRM configs needed for GKI"
|
|
|
|
select DRM_KMS_HELPER if (HAS_IOMEM && DRM)
|
2020-02-01 10:59:11 +08:00
|
|
|
select DRM_GEM_SHMEM_HELPER if (DRM)
|
2019-09-18 05:36:04 +08:00
|
|
|
select DRM_GEM_CMA_HELPER
|
|
|
|
select DRM_KMS_CMA_HELPER
|
|
|
|
select DRM_MIPI_DSI
|
2019-12-24 17:27:54 +08:00
|
|
|
select VIDEOMODE_HELPERS
|
2019-12-05 09:42:25 +08:00
|
|
|
select WANT_DEV_COREDUMP
|
2019-09-18 05:36:04 +08:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden DRM configs.
|
2020-01-30 03:27:23 +08:00
|
|
|
These are normally selected implicitly when including a
|
2019-09-18 05:36:04 +08:00
|
|
|
DRM module, but for GKI, the modules are built out-of-tree.
|
|
|
|
|
2019-09-18 06:38:05 +08:00
|
|
|
config GKI_HIDDEN_REGMAP_CONFIGS
|
|
|
|
bool "Hidden Regmap configs needed for GKI"
|
|
|
|
select REGMAP_IRQ
|
2019-10-10 07:11:38 +08:00
|
|
|
select REGMAP_MMIO
|
2019-09-18 06:38:05 +08:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden regmap configs.
|
2020-01-30 03:27:23 +08:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-18 06:38:05 +08:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2020-01-29 08:11:56 +08:00
|
|
|
config GKI_HIDDEN_CRYPTO_CONFIGS
|
2020-01-30 03:27:23 +08:00
|
|
|
bool "Hidden CRYPTO configs needed for GKI"
|
2020-01-29 08:11:56 +08:00
|
|
|
select CRYPTO_ENGINE
|
|
|
|
help
|
2020-01-30 03:27:23 +08:00
|
|
|
Dummy config option used to enable hidden CRYPTO configs.
|
|
|
|
These are normally selected implicitly when a module
|
2020-01-29 08:11:56 +08:00
|
|
|
that relies on it is configured.
|
|
|
|
|
|
|
|
config GKI_HIDDEN_SND_CONFIGS
|
|
|
|
bool "Hidden SND configs needed for GKI"
|
|
|
|
select SND_VMASTER
|
2020-03-03 08:51:40 +08:00
|
|
|
select SND_PCM_ELD
|
|
|
|
select SND_INTEL_NHLT if (ACPI)
|
2020-01-29 08:11:56 +08:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden SND configs.
|
2020-01-30 03:27:23 +08:00
|
|
|
These are normally selected implicitly when a module
|
2020-01-29 08:11:56 +08:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-09-18 06:57:02 +08: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 07:12:21 +08:00
|
|
|
select SND_PCM_IEC958
|
2019-11-08 03:17:41 +08:00
|
|
|
select SND_SOC_COMPRESS if (SND_SOC && SND)
|
2019-09-18 06:57:02 +08:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden SND_SOC configs.
|
2020-01-30 03:27:23 +08:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-18 06:57:02 +08:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-10-10 07:16:45 +08: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 03:27:23 +08:00
|
|
|
These are normally selected implicitly when a module
|
2019-10-10 07:16:45 +08:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-09-18 07:19:15 +08: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 03:27:23 +08:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-18 07:19:15 +08:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-10-10 07:13:39 +08:00
|
|
|
config GKI_HIDDEN_QCOM_CONFIGS
|
|
|
|
bool "Hidden QCOM configs needed for GKI"
|
|
|
|
select QCOM_SMEM_STATE
|
2020-01-10 03:12:25 +08:00
|
|
|
select QCOM_SCM if (ARM64)
|
2020-02-14 06:52:08 +08:00
|
|
|
select QCOM_GDSC if (ARCH_QCOM)
|
2019-11-21 02:03:34 +08:00
|
|
|
select PINCTRL_MSM if (PINCTRL && ARCH_QCOM)
|
2019-10-10 07:13:39 +08:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden QCOM configs.
|
2020-01-30 03:27:23 +08:00
|
|
|
These are normally selected implicitly when a module
|
2019-10-10 07:13:39 +08:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-12-18 03:58:47 +08:00
|
|
|
config GKI_QCOM_CLKS_CONFIGS
|
|
|
|
bool "QCOM clk drivers needed for GKI due to powerdomain restrictions"
|
|
|
|
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 02:39:57 +08:00
|
|
|
config GKI_HIDDEN_MEDIA_CONFIGS
|
|
|
|
bool "Hidden Media configs needed for GKI"
|
|
|
|
select VIDEOBUF2_CORE
|
2019-10-29 00:44:36 +08:00
|
|
|
select MEDIA_SUPPORT
|
2019-10-26 02:39:57 +08:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden media configs.
|
2020-01-30 03:27:23 +08:00
|
|
|
These are normally selected implicitly when a module
|
2019-10-26 02:39:57 +08:00
|
|
|
that relies on it is configured.
|
2019-10-10 07:13:39 +08:00
|
|
|
|
2019-08-30 23:23:25 +08: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 06:52:02 +08: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 08:11:56 +08:00
|
|
|
select GKI_HIDDEN_CRYPTO_CONFIGS
|
2019-09-18 05:36:04 +08:00
|
|
|
select GKI_HIDDEN_DRM_CONFIGS
|
2019-09-18 06:38:05 +08:00
|
|
|
select GKI_HIDDEN_REGMAP_CONFIGS
|
2020-01-29 08:11:56 +08:00
|
|
|
select GKI_HIDDEN_SND_CONFIGS
|
2019-09-18 06:57:02 +08:00
|
|
|
select GKI_HIDDEN_SND_SOC_CONFIGS
|
2019-10-10 07:16:45 +08:00
|
|
|
select GKI_HIDDEN_MMC_CONFIGS
|
2019-09-18 07:19:15 +08:00
|
|
|
select GKI_HIDDEN_GPIO_CONFIGS
|
2019-10-10 07:13:39 +08:00
|
|
|
select GKI_HIDDEN_QCOM_CONFIGS
|
2019-08-30 23:23:25 +08:00
|
|
|
select GKI_LEGACY_WEXT_ALLCONFIG
|
2019-10-26 02:39:57 +08:00
|
|
|
select GKI_HIDDEN_MEDIA_CONFIGS
|
2019-12-18 03:58:47 +08:00
|
|
|
select GKI_QCOM_CLKS_CONFIGS
|
2019-08-29 06:52:02 +08: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.
|