mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 07:57:03 +07:00
858f559f3d
The sun5i SoCs (A10s, A13, GR8) are all based on the same die fit in different packages. Hence, the pins and functions available are just the based on the same set, each SoC having a different subset. Introduce a common pinctrl driver that supports multiple variants to allow to put as much as we can in common. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
83 lines
1.4 KiB
Plaintext
83 lines
1.4 KiB
Plaintext
if ARCH_SUNXI
|
|
|
|
config PINCTRL_SUNXI
|
|
bool
|
|
select PINMUX
|
|
select GENERIC_PINCONF
|
|
|
|
config PINCTRL_SUN4I_A10
|
|
def_bool MACH_SUN4I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN5I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN5I_A10S
|
|
def_bool MACH_SUN5I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN5I_A13
|
|
def_bool MACH_SUN5I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_GR8
|
|
def_bool MACH_SUN5I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN6I_A31
|
|
def_bool MACH_SUN6I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN6I_A31S
|
|
def_bool MACH_SUN6I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN6I_A31_R
|
|
def_bool MACH_SUN6I
|
|
depends on RESET_CONTROLLER
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN7I_A20
|
|
def_bool MACH_SUN7I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN8I_A23
|
|
def_bool MACH_SUN8I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN8I_A33
|
|
def_bool MACH_SUN8I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN8I_A83T
|
|
def_bool MACH_SUN8I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN8I_A23_R
|
|
def_bool MACH_SUN8I
|
|
depends on RESET_CONTROLLER
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN8I_H3
|
|
def_bool MACH_SUN8I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN8I_H3_R
|
|
def_bool MACH_SUN8I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN9I_A80
|
|
def_bool MACH_SUN9I
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN9I_A80_R
|
|
def_bool MACH_SUN9I
|
|
depends on RESET_CONTROLLER
|
|
select PINCTRL_SUNXI
|
|
|
|
config PINCTRL_SUN50I_A64
|
|
bool
|
|
select PINCTRL_SUNXI
|
|
|
|
endif
|