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