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)
|
2020-02-01 11:59:11 +09:00
|
|
|
select DRM_GEM_SHMEM_HELPER if (DRM)
|
2019-09-18 06:36:04 +09:00
|
|
|
select DRM_GEM_CMA_HELPER
|
|
|
|
select DRM_KMS_CMA_HELPER
|
|
|
|
select DRM_MIPI_DSI
|
2020-04-16 05:50:41 +09:00
|
|
|
select DRM_TTM if (HAS_IOMEM && DRM)
|
2019-12-24 18:27:54 +09:00
|
|
|
select VIDEOMODE_HELPERS
|
2019-12-05 10:42:25 +09:00
|
|
|
select WANT_DEV_COREDUMP
|
2020-06-25 07:27:38 +09:00
|
|
|
select INTERVAL_TREE
|
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
|
2020-03-03 09:51:40 +09:00
|
|
|
select SND_PCM_ELD
|
2020-03-03 09:28:03 +09:00
|
|
|
select SND_JACK
|
|
|
|
select SND_JACK_INPUT_DEV
|
2020-03-03 09:51:40 +09:00
|
|
|
select SND_INTEL_NHLT if (ACPI)
|
2020-01-29 09:11:56 +09:00
|
|
|
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)
|
2020-04-10 13:26:43 +09:00
|
|
|
select SND_SOC_TOPOLOGY if (SND_SOC && SND)
|
2021-01-27 13:31:23 +09:00
|
|
|
select DMADEVICES
|
2020-07-06 19:57:52 +09:00
|
|
|
select DMA_VIRTUAL_CHANNELS
|
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-02-14 07:52:08 +09:00
|
|
|
select QCOM_GDSC if (ARCH_QCOM)
|
2020-04-04 07:12:09 +09:00
|
|
|
select IOMMU_IO_PGTABLE_LPAE if (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-10-26 03:39:57 +09:00
|
|
|
config GKI_HIDDEN_MEDIA_CONFIGS
|
|
|
|
bool "Hidden Media configs needed for GKI"
|
|
|
|
select VIDEOBUF2_CORE
|
2020-10-27 02:56:35 +09:00
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
select MEDIA_CONTROLLER
|
|
|
|
select MEDIA_CONTROLLER_REQUEST_API
|
2019-10-29 01:44:36 +09:00
|
|
|
select MEDIA_SUPPORT
|
2020-03-14 08:24:20 +09:00
|
|
|
select FRAME_VECTOR
|
2020-08-18 01:39:47 +09:00
|
|
|
select CEC_CORE
|
|
|
|
select CEC_NOTIFIER
|
|
|
|
select CEC_PIN
|
2020-06-30 18:00:10 +09:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
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
|
|
|
|
2020-03-04 06:30:16 +09:00
|
|
|
config GKI_HIDDEN_VIRTUAL_CONFIGS
|
|
|
|
bool "Hidden Virtual configs needed for GKI"
|
|
|
|
select HVC_DRIVER
|
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden virtual device configs.
|
|
|
|
These are normally selected implicitly when a module
|
|
|
|
that relies on it is configured.
|
|
|
|
|
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.
|
|
|
|
|
2020-03-20 10:18:41 +09:00
|
|
|
config GKI_HIDDEN_USB_CONFIGS
|
|
|
|
bool "Hiddel USB configurations needed for GKI"
|
|
|
|
select USB_PHY
|
|
|
|
help
|
|
|
|
Dummy config option used to enable all USB related hidden configs.
|
|
|
|
These configurations are usually only selected by another config
|
|
|
|
option or a combination of them.
|
|
|
|
|
|
|
|
If you are not building a kernel to be used for a variety of
|
|
|
|
out-of-kernel build USB drivers, say N here.
|
|
|
|
|
2020-03-24 12:40:00 +09:00
|
|
|
config GKI_HIDDEN_SOC_BUS_CONFIGS
|
|
|
|
bool "Hidden SoC bus configuration needed for GKI"
|
|
|
|
select SOC_BUS
|
|
|
|
help
|
|
|
|
Dummy config option used to enable SOC_BUS hidden Kconfig.
|
|
|
|
The configuration is required for SoCs to register themselves to the bus.
|
|
|
|
|
|
|
|
If you are not building a kernel to be used for a variety of SoCs and
|
|
|
|
out-of-tree drivers, say N here.
|
|
|
|
|
2020-03-28 02:18:41 +09:00
|
|
|
config GKI_HIDDEN_RPMSG_CONFIGS
|
|
|
|
bool "Hidden RPMSG configuration needed for GKI"
|
|
|
|
select RPMSG
|
|
|
|
help
|
|
|
|
Dummy config option used to enable the hidden RPMSG config.
|
|
|
|
This configuration is usually only selected by another config
|
|
|
|
option or a combination of them.
|
|
|
|
|
|
|
|
If you are not building a kernel to be used for a variety of
|
|
|
|
out-of-kernel build RPMSG drivers, say N here.
|
|
|
|
|
2020-04-22 09:54:15 +09:00
|
|
|
config GKI_HIDDEN_GPU_CONFIGS
|
|
|
|
bool "Hidden GPU configuration needed for GKI"
|
|
|
|
select TRACE_GPU_MEM
|
2021-05-21 04:07:38 +09:00
|
|
|
select MMU_NOTIFIER
|
|
|
|
select HMM_MIRROR
|
2020-04-22 09:54:15 +09:00
|
|
|
help
|
|
|
|
Dummy config option used to enable the hidden GPU config.
|
|
|
|
These are normally selected implicitly when a module
|
|
|
|
that relies on it is configured.
|
|
|
|
|
2020-04-28 00:54:47 +09:00
|
|
|
config GKI_HIDDEN_IRQ_CONFIGS
|
|
|
|
bool "Hidden IRQ configuration needed for GKI"
|
|
|
|
select GENERIC_IRQ_CHIP
|
2020-08-04 09:48:52 +09:00
|
|
|
select IRQ_DOMAIN_HIERARCHY
|
|
|
|
select IRQ_FASTEOI_HIERARCHY_HANDLERS
|
2020-04-28 00:54:47 +09:00
|
|
|
help
|
|
|
|
Dummy config option used to enable GENERIC_IRQ_CHIP hidden
|
|
|
|
config, required by various SoC platforms. This is usually
|
|
|
|
selected by ARCH_*.
|
|
|
|
|
2020-06-03 01:21:55 +09:00
|
|
|
config GKI_HIDDEN_HYPERVISOR_CONFIGS
|
|
|
|
bool "Hidden hypervisor configuration needed for GKI"
|
|
|
|
select SYS_HYPERVISOR
|
|
|
|
help
|
|
|
|
Dummy config option used to enable the SYS_HYPERVISOR hidden
|
|
|
|
config, required by various SoC platforms. This is usually
|
|
|
|
selected by XEN or S390.
|
|
|
|
|
2021-02-05 04:57:59 +09:00
|
|
|
config GKI_HIDDEN_NET_CONFIGS
|
|
|
|
bool "Hidden networking configuration needed for GKI"
|
|
|
|
select PAGE_POOL
|
|
|
|
select NET_PTP_CLASSIFY
|
|
|
|
help
|
|
|
|
Dummy config option used to enable the networking hidden
|
|
|
|
config, required by various SoC platforms.
|
|
|
|
|
2021-02-05 05:45:39 +09:00
|
|
|
config GKI_HIDDEN_PHY_CONFIGS
|
|
|
|
bool "Hidden PHY configuration needed for GKI"
|
|
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
|
|
help
|
|
|
|
Dummy config option used to enable the hidden PHY configs,
|
|
|
|
required by various SoC platforms.
|
|
|
|
|
2021-03-20 04:57:48 +09:00
|
|
|
config GKI_HIDDEN_MM_CONFIGS
|
|
|
|
bool "Hidden MM configuration needed for GKI"
|
|
|
|
select PAGE_REPORTING
|
|
|
|
select BALLOON_COMPACTION
|
|
|
|
select MEMORY_BALLOON
|
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden MM configs,
|
|
|
|
currently required for VIRTIO_BALLOON
|
2021-02-05 04:57:59 +09:00
|
|
|
|
2021-04-28 23:24:36 +09:00
|
|
|
config GKI_HIDDEN_DMA_CONFIGS
|
|
|
|
bool "Hidden DMA configuration needed for GKI"
|
|
|
|
select ASYNC_TX_ENABLE_CHANNEL_SWITCH
|
|
|
|
help
|
|
|
|
Dummy config option used to enable the hidden DMA configs,
|
|
|
|
required by various SoC platforms.
|
|
|
|
|
2021-06-08 22:53:40 +09:00
|
|
|
config GKI_HIDDEN_ETHERNET_CONFIGS
|
|
|
|
bool "Hidden Ethernet configuration needed for GKI"
|
|
|
|
select PHYLINK
|
|
|
|
help
|
|
|
|
Dummy config option used to enable the hidden Ethernet PHYLINK
|
|
|
|
configs, required by various ethernet devices.
|
|
|
|
|
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
|
2020-03-04 06:30:16 +09:00
|
|
|
select GKI_HIDDEN_VIRTUAL_CONFIGS
|
2020-03-20 10:18:41 +09:00
|
|
|
select GKI_HIDDEN_USB_CONFIGS
|
2020-03-24 12:40:00 +09:00
|
|
|
select GKI_HIDDEN_SOC_BUS_CONFIGS
|
2020-03-28 02:18:41 +09:00
|
|
|
select GKI_HIDDEN_RPMSG_CONFIGS
|
2020-04-22 09:54:15 +09:00
|
|
|
select GKI_HIDDEN_GPU_CONFIGS
|
2020-04-28 00:54:47 +09:00
|
|
|
select GKI_HIDDEN_IRQ_CONFIGS
|
2020-06-03 01:21:55 +09:00
|
|
|
select GKI_HIDDEN_HYPERVISOR_CONFIGS
|
2021-02-05 04:57:59 +09:00
|
|
|
select GKI_HIDDEN_NET_CONFIGS
|
2021-02-05 05:45:39 +09:00
|
|
|
select GKI_HIDDEN_PHY_CONFIGS
|
2021-03-20 04:57:48 +09:00
|
|
|
select GKI_HIDDEN_MM_CONFIGS
|
2021-04-28 23:24:36 +09:00
|
|
|
select GKI_HIDDEN_DMA_CONFIGS
|
2021-06-08 22:53:40 +09:00
|
|
|
select GKI_HIDDEN_ETHERNET_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.
|