forked from Minki/linux
d5e9fb31ba
The A80 has a rather usual pin controller, the only thing out of the ordinary being that it has 5 interrupts banks, and that some pins have several options for the same functions. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
47 lines
842 B
Plaintext
47 lines
842 B
Plaintext
if ARCH_SUNXI
|
|
|
|
config PINCTRL_SUNXI_COMMON
|
|
bool
|
|
select PINMUX
|
|
select GENERIC_PINCONF
|
|
|
|
config PINCTRL_SUN4I_A10
|
|
def_bool MACH_SUN4I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN5I_A10S
|
|
def_bool MACH_SUN5I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN5I_A13
|
|
def_bool MACH_SUN5I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN6I_A31
|
|
def_bool MACH_SUN6I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN6I_A31_R
|
|
def_bool MACH_SUN6I
|
|
depends on RESET_CONTROLLER
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN7I_A20
|
|
def_bool MACH_SUN7I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN8I_A23
|
|
def_bool MACH_SUN8I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN8I_A23_R
|
|
def_bool MACH_SUN8I
|
|
depends on RESET_CONTROLLER
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
config PINCTRL_SUN9I_A80
|
|
def_bool MACH_SUN9I
|
|
select PINCTRL_SUNXI_COMMON
|
|
|
|
endif
|