xref: /openbmc/linux/drivers/pinctrl/sunxi/Kconfig (revision 0da85d1e)
1if ARCH_SUNXI
2
3config PINCTRL_SUNXI_COMMON
4	bool
5	select PINMUX
6	select GENERIC_PINCONF
7
8config PINCTRL_SUN4I_A10
9	def_bool MACH_SUN4I
10	select PINCTRL_SUNXI_COMMON
11
12config PINCTRL_SUN5I_A10S
13	def_bool MACH_SUN5I
14	select PINCTRL_SUNXI_COMMON
15
16config PINCTRL_SUN5I_A13
17	def_bool MACH_SUN5I
18	select PINCTRL_SUNXI_COMMON
19
20config PINCTRL_SUN6I_A31
21	def_bool MACH_SUN6I
22	select PINCTRL_SUNXI_COMMON
23
24config PINCTRL_SUN6I_A31S
25	def_bool MACH_SUN6I
26	select PINCTRL_SUNXI_COMMON
27
28config PINCTRL_SUN6I_A31_R
29	def_bool MACH_SUN6I
30	depends on RESET_CONTROLLER
31	select PINCTRL_SUNXI_COMMON
32
33config PINCTRL_SUN7I_A20
34	def_bool MACH_SUN7I
35	select PINCTRL_SUNXI_COMMON
36
37config PINCTRL_SUN8I_A23
38	def_bool MACH_SUN8I
39	select PINCTRL_SUNXI_COMMON
40
41config PINCTRL_SUN8I_A23_R
42	def_bool MACH_SUN8I
43	depends on RESET_CONTROLLER
44	select PINCTRL_SUNXI_COMMON
45
46config PINCTRL_SUN9I_A80
47	def_bool MACH_SUN9I
48	select PINCTRL_SUNXI_COMMON
49
50endif
51