mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
9681df024c
Add a new pinctrl driver for Amlogic T7 SoCs which share the same register layout as the previous Amlogic S4. Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://lore.kernel.org/r/20230922094342.637251-3-huqiang.qin@amlogic.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
83 lines
1.6 KiB
Plaintext
83 lines
1.6 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 y
|
|
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 y
|
|
|
|
config PINCTRL_MESON8B
|
|
bool "Meson 8b SoC pinctrl driver"
|
|
depends on ARM
|
|
select PINCTRL_MESON8_PMX
|
|
default y
|
|
|
|
config PINCTRL_MESON_GXBB
|
|
tristate "Meson gxbb SoC pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON8_PMX
|
|
default y
|
|
|
|
config PINCTRL_MESON_GXL
|
|
tristate "Meson gxl SoC pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON8_PMX
|
|
default y
|
|
|
|
config PINCTRL_MESON8_PMX
|
|
tristate
|
|
|
|
config PINCTRL_MESON_AXG
|
|
tristate "Meson axg Soc pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default y
|
|
|
|
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 y
|
|
|
|
config PINCTRL_MESON_A1
|
|
tristate "Meson a1 Soc pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default y
|
|
|
|
config PINCTRL_MESON_S4
|
|
tristate "Meson s4 Soc pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default y
|
|
|
|
config PINCTRL_AMLOGIC_C3
|
|
tristate "Amlogic C3 SoC pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default y
|
|
|
|
config PINCTRL_AMLOGIC_T7
|
|
tristate "Amlogic T7 SoC pinctrl driver"
|
|
depends on ARM64
|
|
select PINCTRL_MESON_AXG_PMX
|
|
default y
|
|
|
|
endif
|