f5f770e495
QCOM_SCM is needed to be able to boot on db845c and is normally selected by modules such as QCOM_RMTFS_MEM. This dependency got accidentally dropped before the holidays when I moved the QCOM_RMTFS_MEM to a module instead of a gki built in. Signed-off-by: John Stultz <john.stultz@linaro.org> Bug: 146449535 Change-Id: Icf9b6fec1d45247ee67e50d6c13c6e410e3d8c12
125 lines
4.3 KiB
Plaintext
125 lines
4.3 KiB
Plaintext
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
|
|
select SND_PCM_ELD
|
|
select VIDEOMODE_HELPERS
|
|
select WANT_DEV_COREDUMP
|
|
help
|
|
Dummy config option used to enable hidden DRM configs.
|
|
These are normally selected implicitely when including a
|
|
DRM module, but for GKI, the modules are built out-of-tree.
|
|
|
|
config GKI_HIDDEN_REGMAP_CONFIGS
|
|
bool "Hidden Regmap configs needed for GKI"
|
|
select REGMAP_IRQ
|
|
select REGMAP_MMIO
|
|
help
|
|
Dummy config option used to enable hidden regmap configs.
|
|
These are normally selected implicitely when a module
|
|
that relies on it is configured.
|
|
|
|
config GKI_HIDDEN_SND_SOC_CONFIGS
|
|
bool "Hidden SND_SOC configs needed for GKI"
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
|
|
select SND_PCM_IEC958
|
|
select SND_SOC_COMPRESS if (SND_SOC && SND)
|
|
help
|
|
Dummy config option used to enable hidden SND_SOC configs.
|
|
These are normally selected implicitely when a module
|
|
that relies on it is configured.
|
|
|
|
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.
|
|
These are normally selected implicitely when a module
|
|
that relies on it is configured.
|
|
|
|
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.
|
|
These are normally selected implicitely when a module
|
|
that relies on it is configured.
|
|
|
|
config GKI_HIDDEN_QCOM_CONFIGS
|
|
bool "Hidden QCOM configs needed for GKI"
|
|
select QCOM_SMEM_STATE
|
|
select QCOM_SCM if (ARM64)
|
|
select PINCTRL_MSM if (PINCTRL && ARCH_QCOM)
|
|
help
|
|
Dummy config option used to enable hidden QCOM configs.
|
|
These are normally selected implicitely when a module
|
|
that relies on it is configured.
|
|
|
|
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
|
|
|
|
config GKI_HIDDEN_MEDIA_CONFIGS
|
|
bool "Hidden Media configs needed for GKI"
|
|
select VIDEOBUF2_CORE
|
|
select MEDIA_SUPPORT
|
|
help
|
|
Dummy config option used to enable hidden media configs.
|
|
These are normally selected implicitely when a module
|
|
that relies on it is configured.
|
|
|
|
# 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.
|
|
|
|
# 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"
|
|
select GKI_HIDDEN_DRM_CONFIGS
|
|
select GKI_HIDDEN_REGMAP_CONFIGS
|
|
select GKI_HIDDEN_SND_SOC_CONFIGS
|
|
select GKI_HIDDEN_MMC_CONFIGS
|
|
select GKI_HIDDEN_GPIO_CONFIGS
|
|
select GKI_HIDDEN_QCOM_CONFIGS
|
|
select GKI_LEGACY_WEXT_ALLCONFIG
|
|
select GKI_HIDDEN_MEDIA_CONFIGS
|
|
select GKI_QCOM_CLKS_CONFIGS
|
|
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.
|