mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-25 09:29:31 +00:00

Enabling the compile test should not cause automatic enabling of all drivers. Restrict the default to ARCH also for individual drivers, even though their choice is not visible without selecting parent Kconfig symbol, because otherwise selecting parent would select the child during compile testing. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/20250404115719.309999-1-krzysztof.kozlowski@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
94 lines
2.0 KiB
Plaintext
94 lines
2.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menuconfig PINCTRL_MESON
|
|
tristate "Amlogic SoC pinctrl drivers"
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
depends on OF
|
|
default ARCH_MESON
|
|
select PINMUX
|
|
select PINCONF
|
|
select GENERIC_PINCONF
|
|
select GPIOLIB
|
|
select OF_GPIO
|
|
select REGMAP_MMIO
|
|
|
|
if PINCTRL_MESON
|
|
|
|
config PINCTRL_MESON8
|
|
bool "Meson 8 SoC pinctrl driver"
|
|
depends on ARM
|
|
select PINCTRL_MESON8_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_MESON8B
|
|
bool "Meson 8b SoC pinctrl driver"
|
|
depends on ARM
|
|
select PINCTRL_MESON8_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_MESON_GXBB
|
|
tristate "Meson gxbb SoC pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON8_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_MESON_GXL
|
|
tristate "Meson gxl SoC pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON8_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_MESON8_PMX
|
|
tristate
|
|
|
|
config PINCTRL_MESON_AXG
|
|
tristate "Meson axg Soc pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_MESON_AXG_PMX
|
|
tristate
|
|
|
|
config PINCTRL_MESON_G12A
|
|
tristate "Meson g12a Soc pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_MESON_A1
|
|
tristate "Meson a1 Soc pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_MESON_S4
|
|
tristate "Meson s4 Soc pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_AMLOGIC_A4
|
|
bool "AMLOGIC pincontrol"
|
|
depends on ARM64
|
|
default ARCH_MESON
|
|
help
|
|
This is the driver for the pin controller found on Amlogic SoCs.
|
|
|
|
This driver is simplify subsequent support for new amlogic SoCs,
|
|
to support new Amlogic SoCs, only need to add the corresponding dts file,
|
|
no additional binding header files or C file are added.
|
|
|
|
config PINCTRL_AMLOGIC_C3
|
|
tristate "Amlogic C3 SoC pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default ARCH_MESON
|
|
|
|
config PINCTRL_AMLOGIC_T7
|
|
tristate "Amlogic T7 SoC pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default ARCH_MESON
|
|
|
|
endif
|