xref: /openbmc/linux/drivers/pinctrl/sunxi/Kconfig (revision 96de2506)
1if ARCH_SUNXI
2
3config PINCTRL_SUNXI
4	bool
5	select PINMUX
6	select GENERIC_PINCONF
7	select GPIOLIB
8
9config PINCTRL_SUN4I_A10
10	def_bool MACH_SUN4I || MACH_SUN7I || MACH_SUN8I
11	select PINCTRL_SUNXI
12
13config PINCTRL_SUN5I
14	def_bool MACH_SUN5I
15	select PINCTRL_SUNXI
16
17config PINCTRL_SUN6I_A31
18	def_bool MACH_SUN6I
19	select PINCTRL_SUNXI
20
21config PINCTRL_SUN6I_A31_R
22	def_bool MACH_SUN6I
23	depends on RESET_CONTROLLER
24	select PINCTRL_SUNXI
25
26config PINCTRL_SUN8I_A23
27	def_bool MACH_SUN8I
28	select PINCTRL_SUNXI
29
30config PINCTRL_SUN8I_A33
31	def_bool MACH_SUN8I
32	select PINCTRL_SUNXI
33
34config PINCTRL_SUN8I_A83T
35	def_bool MACH_SUN8I
36	select PINCTRL_SUNXI
37
38config PINCTRL_SUN8I_A83T_R
39	def_bool MACH_SUN8I
40	select PINCTRL_SUNXI
41
42config PINCTRL_SUN8I_A23_R
43	def_bool MACH_SUN8I
44	depends on RESET_CONTROLLER
45	select PINCTRL_SUNXI
46
47config PINCTRL_SUN8I_H3
48	def_bool MACH_SUN8I
49	select PINCTRL_SUNXI
50
51config PINCTRL_SUN8I_H3_R
52	def_bool MACH_SUN8I || (ARM64 && ARCH_SUNXI)
53	select PINCTRL_SUNXI
54
55config PINCTRL_SUN8I_V3S
56	def_bool MACH_SUN8I
57	select PINCTRL_SUNXI
58
59config PINCTRL_SUN9I_A80
60	def_bool MACH_SUN9I
61	select PINCTRL_SUNXI
62
63config PINCTRL_SUN9I_A80_R
64	def_bool MACH_SUN9I
65	depends on RESET_CONTROLLER
66	select PINCTRL_SUNXI
67
68config PINCTRL_SUN50I_A64
69	def_bool ARM64 && ARCH_SUNXI
70	select PINCTRL_SUNXI
71
72config PINCTRL_SUN50I_A64_R
73	def_bool ARM64 && ARCH_SUNXI
74	select PINCTRL_SUNXI
75
76config PINCTRL_SUN50I_H5
77	def_bool ARM64 && ARCH_SUNXI
78	select PINCTRL_SUNXI
79
80config PINCTRL_SUN50I_H6
81	def_bool ARM64 && ARCH_SUNXI
82	select PINCTRL_SUNXI
83
84config PINCTRL_SUN50I_H6_R
85	def_bool ARM64 && ARCH_SUNXI
86	select PINCTRL_SUNXI
87
88endif
89