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