blob: 77da90836b6be2177658ff20edb3522bf2e08405 [file] [log] [blame]
Samuel Hollande3095022021-08-12 20:09:43 -05001# SPDX-License-Identifier: GPL-2.0
2
3if ARCH_SUNXI
4
5config PINCTRL_SUNXI
6 select PINCTRL_FULL
7 select PINCTRL_GENERIC
Samuel Hollandde828b42021-08-28 21:10:47 -05008 select PINCONF
Samuel Hollandecbbedb2021-08-16 23:56:47 -05009 select PINMUX
Samuel Hollande3095022021-08-12 20:09:43 -050010 bool
11
12config PINCTRL_SUNIV_F1C100S
13 bool "Support for the Allwinner F1C100s PIO"
14 default MACH_SUNIV
15 select PINCTRL_SUNXI
16
17config PINCTRL_SUN4I_A10
18 bool "Support for the Allwinner A10 PIO"
19 default MACH_SUN4I
20 select PINCTRL_SUNXI
21
22config PINCTRL_SUN5I_A13
23 bool "Support for the Allwinner A10s/A13 PIO"
24 default MACH_SUN5I
25 select PINCTRL_SUNXI
26
27config PINCTRL_SUN6I_A31
28 bool "Support for the Allwinner A31 PIO"
29 default MACH_SUN6I
30 select PINCTRL_SUNXI
31
32config PINCTRL_SUN6I_A31_R
33 bool "Support for the Allwinner A31 R-PIO"
34 default MACH_SUN6I
35 select PINCTRL_SUNXI
36
37config PINCTRL_SUN7I_A20
38 bool "Support for the Allwinner A20/R40 PIO"
39 default MACH_SUN7I || MACH_SUN8I_R40
40 select PINCTRL_SUNXI
41
42config PINCTRL_SUN8I_A23
43 bool "Support for the Allwinner A23 PIO"
44 default MACH_SUN8I_A23
45 select PINCTRL_SUNXI
46
47config PINCTRL_SUN8I_A23_R
48 bool "Support for the Allwinner A23/A33 R-PIO"
49 default MACH_SUN8I_A23 || MACH_SUN8I_A33
50 select PINCTRL_SUNXI
51
52config PINCTRL_SUN8I_A33
53 bool "Support for the Allwinner A33 PIO"
54 default MACH_SUN8I_A33
55 select PINCTRL_SUNXI
56
57config PINCTRL_SUN8I_A83T
58 bool "Support for the Allwinner A83T PIO"
59 default MACH_SUN8I_A83T
60 select PINCTRL_SUNXI
61
62config PINCTRL_SUN8I_A83T_R
63 bool "Support for the Allwinner A83T R-PIO"
64 default MACH_SUN8I_A83T
65 select PINCTRL_SUNXI
66
67config PINCTRL_SUN8I_H3
68 bool "Support for the Allwinner H3 PIO"
69 default MACH_SUN8I_H3
70 select PINCTRL_SUNXI
71
72config PINCTRL_SUN8I_H3_R
73 bool "Support for the Allwinner H3/H5 R-PIO"
74 default MACH_SUN8I_H3 || MACH_SUN50I_H5
75 select PINCTRL_SUNXI
76
77config PINCTRL_SUN8I_V3S
78 bool "Support for the Allwinner V3s PIO"
79 default MACH_SUN8I_V3S
80 select PINCTRL_SUNXI
81
82config PINCTRL_SUN9I_A80
83 bool "Support for the Allwinner A80 PIO"
84 default MACH_SUN9I
85 select PINCTRL_SUNXI
86
87config PINCTRL_SUN9I_A80_R
88 bool "Support for the Allwinner A80 R-PIO"
89 default MACH_SUN9I
90 select PINCTRL_SUNXI
91
92config PINCTRL_SUN50I_A64
93 bool "Support for the Allwinner A64 PIO"
94 default MACH_SUN50I
95 select PINCTRL_SUNXI
96
97config PINCTRL_SUN50I_A64_R
98 bool "Support for the Allwinner A64 R-PIO"
99 default MACH_SUN50I
100 select PINCTRL_SUNXI
101
102config PINCTRL_SUN50I_H5
103 bool "Support for the Allwinner H5 PIO"
104 default MACH_SUN50I_H5
105 select PINCTRL_SUNXI
106
107config PINCTRL_SUN50I_H6
108 bool "Support for the Allwinner H6 PIO"
109 default MACH_SUN50I_H6
110 select PINCTRL_SUNXI
111
112config PINCTRL_SUN50I_H6_R
113 bool "Support for the Allwinner H6 R-PIO"
114 default MACH_SUN50I_H6
115 select PINCTRL_SUNXI
116
117config PINCTRL_SUN50I_H616
118 bool "Support for the Allwinner H616 PIO"
119 default MACH_SUN50I_H616
120 select PINCTRL_SUNXI
121
122config PINCTRL_SUN50I_H616_R
123 bool "Support for the Allwinner H616 R-PIO"
124 default MACH_SUN50I_H616
125 select PINCTRL_SUNXI
126
127endif