]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
5f910777 MR |
2 | if ARCH_SUNXI |
3 | ||
3a42a042 | 4 | config PINCTRL_SUNXI |
118c565a | 5 | bool |
5f910777 MR |
6 | select PINMUX |
7 | select GENERIC_PINCONF | |
9396f441 | 8 | select GPIOLIB |
5f910777 | 9 | |
9088276d MK |
10 | config PINCTRL_SUNIV_F1C100S |
11 | def_bool MACH_SUNIV | |
12 | select PINCTRL_SUNXI | |
13 | ||
340ba6c4 | 14 | config PINCTRL_SUN4I_A10 |
c69a26b5 MR |
15 | bool "Support for the Allwinner A10, A20 and R40 PIO" |
16 | default MACH_SUN4I || MACH_SUN7I || MACH_SUN8I | |
3a42a042 | 17 | select PINCTRL_SUNXI |
340ba6c4 | 18 | |
858f559f | 19 | config PINCTRL_SUN5I |
c69a26b5 MR |
20 | bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO" |
21 | default MACH_SUN5I | |
3a42a042 | 22 | select PINCTRL_SUNXI |
340ba6c4 MR |
23 | |
24 | config PINCTRL_SUN6I_A31 | |
c69a26b5 MR |
25 | bool "Support for the Allwinner A31 PIO" |
26 | default MACH_SUN6I | |
3a42a042 | 27 | select PINCTRL_SUNXI |
340ba6c4 MR |
28 | |
29 | config PINCTRL_SUN6I_A31_R | |
c69a26b5 MR |
30 | bool "Support for the Allwinner A31 R-PIO" |
31 | default MACH_SUN6I | |
de5af04e | 32 | depends on RESET_CONTROLLER |
3a42a042 | 33 | select PINCTRL_SUNXI |
340ba6c4 | 34 | |
4c821d1c | 35 | config PINCTRL_SUN8I_A23 |
c69a26b5 MR |
36 | bool "Support for the Allwinner A23 PIO" |
37 | default MACH_SUN8I | |
3a42a042 | 38 | select PINCTRL_SUNXI |
4c821d1c | 39 | |
7164873e | 40 | config PINCTRL_SUN8I_A33 |
c69a26b5 MR |
41 | bool "Support for the Allwinner A33 PIO" |
42 | default MACH_SUN8I | |
3a42a042 | 43 | select PINCTRL_SUNXI |
7164873e | 44 | |
4730f33f | 45 | config PINCTRL_SUN8I_A83T |
c69a26b5 MR |
46 | bool "Support for the Allwinner A83T PIO" |
47 | default MACH_SUN8I | |
3a42a042 | 48 | select PINCTRL_SUNXI |
4730f33f | 49 | |
41633edf | 50 | config PINCTRL_SUN8I_A83T_R |
c69a26b5 MR |
51 | bool "Support for the Allwinner A83T R-PIO" |
52 | default MACH_SUN8I | |
41633edf CYT |
53 | select PINCTRL_SUNXI |
54 | ||
d22bf40f | 55 | config PINCTRL_SUN8I_A23_R |
c69a26b5 MR |
56 | bool "Support for the Allwinner A23 and A33 R-PIO" |
57 | default MACH_SUN8I | |
d22bf40f | 58 | depends on RESET_CONTROLLER |
3a42a042 | 59 | select PINCTRL_SUNXI |
d22bf40f | 60 | |
e87623cb | 61 | config PINCTRL_SUN8I_H3 |
c69a26b5 MR |
62 | bool "Support for the Allwinner H3 PIO" |
63 | default MACH_SUN8I | |
3a42a042 | 64 | select PINCTRL_SUNXI |
e87623cb | 65 | |
ba83a111 | 66 | config PINCTRL_SUN8I_H3_R |
c69a26b5 MR |
67 | bool "Support for the Allwinner H3 and H5 R-PIO" |
68 | default MACH_SUN8I || (ARM64 && ARCH_SUNXI) | |
082bc28c | 69 | select PINCTRL_SUNXI |
ba83a111 | 70 | |
56d9e4a7 | 71 | config PINCTRL_SUN8I_V3S |
c69a26b5 MR |
72 | bool "Support for the Allwinner V3s PIO" |
73 | default MACH_SUN8I | |
56d9e4a7 IZ |
74 | select PINCTRL_SUNXI |
75 | ||
d5e9fb31 | 76 | config PINCTRL_SUN9I_A80 |
c69a26b5 MR |
77 | bool "Support for the Allwinner A80 PIO" |
78 | default MACH_SUN9I | |
3a42a042 | 79 | select PINCTRL_SUNXI |
d5e9fb31 | 80 | |
0eccc9cb | 81 | config PINCTRL_SUN9I_A80_R |
c69a26b5 MR |
82 | bool "Support for the Allwinner A80 R-PIO" |
83 | default MACH_SUN9I | |
0eccc9cb | 84 | depends on RESET_CONTROLLER |
3a42a042 | 85 | select PINCTRL_SUNXI |
0eccc9cb | 86 | |
96851d39 | 87 | config PINCTRL_SUN50I_A64 |
c69a26b5 MR |
88 | bool "Support for the Allwinner A64 PIO" |
89 | default ARM64 && ARCH_SUNXI | |
96851d39 AP |
90 | select PINCTRL_SUNXI |
91 | ||
14c868b0 | 92 | config PINCTRL_SUN50I_A64_R |
c69a26b5 MR |
93 | bool "Support for the Allwinner A64 R-PIO" |
94 | default ARM64 && ARCH_SUNXI | |
14c868b0 IZ |
95 | select PINCTRL_SUNXI |
96 | ||
473436e7 YL |
97 | config PINCTRL_SUN50I_A100 |
98 | bool "Support for the Allwinner A100 PIO" | |
99 | default ARM64 && ARCH_SUNXI | |
100 | select PINCTRL_SUNXI | |
101 | ||
102 | config PINCTRL_SUN50I_A100_R | |
103 | bool "Support for the Allwinner A100 R-PIO" | |
104 | default ARM64 && ARCH_SUNXI | |
105 | select PINCTRL_SUNXI | |
106 | ||
838adb57 | 107 | config PINCTRL_SUN50I_H5 |
c69a26b5 MR |
108 | bool "Support for the Allwinner H5 PIO" |
109 | default ARM64 && ARCH_SUNXI | |
838adb57 IZ |
110 | select PINCTRL_SUNXI |
111 | ||
c8a83090 | 112 | config PINCTRL_SUN50I_H6 |
c69a26b5 MR |
113 | bool "Support for the Allwinner H6 PIO" |
114 | default ARM64 && ARCH_SUNXI | |
c8a83090 IZ |
115 | select PINCTRL_SUNXI |
116 | ||
ba5554dc | 117 | config PINCTRL_SUN50I_H6_R |
c69a26b5 MR |
118 | bool "Support for the Allwinner H6 R-PIO" |
119 | default ARM64 && ARCH_SUNXI | |
ba5554dc IZ |
120 | select PINCTRL_SUNXI |
121 | ||
25adc294 AP |
122 | config PINCTRL_SUN50I_H616 |
123 | bool "Support for the Allwinner H616 PIO" | |
124 | default ARM64 && ARCH_SUNXI | |
125 | select PINCTRL_SUNXI | |
126 | ||
561c1cf1 AP |
127 | config PINCTRL_SUN50I_H616_R |
128 | bool "Support for the Allwinner H616 R-PIO" | |
129 | default ARM64 && ARCH_SUNXI | |
130 | select PINCTRL_SUNXI | |
131 | ||
5f910777 | 132 | endif |