xref: /openbmc/linux/drivers/pinctrl/sunxi/Kconfig (revision d2999e1b)
1if ARCH_SUNXI
2
3config PINCTRL_SUNXI
4	bool
5
6config PINCTRL_SUNXI_COMMON
7	bool
8	select PINMUX
9	select GENERIC_PINCONF
10
11config PINCTRL_SUN4I_A10
12	def_bool PINCTRL_SUNXI || MACH_SUN4I
13	select PINCTRL_SUNXI_COMMON
14
15config PINCTRL_SUN5I_A10S
16	def_bool PINCTRL_SUNXI || MACH_SUN5I
17	select PINCTRL_SUNXI_COMMON
18
19config PINCTRL_SUN5I_A13
20	def_bool PINCTRL_SUNXI || MACH_SUN5I
21	select PINCTRL_SUNXI_COMMON
22
23config PINCTRL_SUN6I_A31
24	def_bool PINCTRL_SUNXI || MACH_SUN6I
25	select PINCTRL_SUNXI_COMMON
26
27config PINCTRL_SUN6I_A31_R
28	def_bool PINCTRL_SUNXI || MACH_SUN6I
29	depends on RESET_CONTROLLER
30	select PINCTRL_SUNXI_COMMON
31
32config PINCTRL_SUN7I_A20
33	def_bool PINCTRL_SUNXI || MACH_SUN7I
34	select PINCTRL_SUNXI_COMMON
35
36endif
37