forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/pinctrl/sunxi/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 if ARCH_SUNXI
23
34 config PINCTRL_SUNXI
....@@ -6,83 +7,116 @@
67 select GENERIC_PINCONF
78 select GPIOLIB
89
10
+config PINCTRL_SUNIV_F1C100S
11
+ def_bool MACH_SUNIV
12
+ select PINCTRL_SUNXI
13
+
914 config PINCTRL_SUN4I_A10
10
- def_bool MACH_SUN4I || MACH_SUN7I || MACH_SUN8I
15
+ bool "Support for the Allwinner A10, A20 and R40 PIO"
16
+ default MACH_SUN4I || MACH_SUN7I || MACH_SUN8I
1117 select PINCTRL_SUNXI
1218
1319 config PINCTRL_SUN5I
14
- def_bool MACH_SUN5I
20
+ bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO"
21
+ default MACH_SUN5I
1522 select PINCTRL_SUNXI
1623
1724 config PINCTRL_SUN6I_A31
18
- def_bool MACH_SUN6I
25
+ bool "Support for the Allwinner A31 PIO"
26
+ default MACH_SUN6I
1927 select PINCTRL_SUNXI
2028
2129 config PINCTRL_SUN6I_A31_R
22
- def_bool MACH_SUN6I
30
+ bool "Support for the Allwinner A31 R-PIO"
31
+ default MACH_SUN6I
2332 depends on RESET_CONTROLLER
2433 select PINCTRL_SUNXI
2534
2635 config PINCTRL_SUN8I_A23
27
- def_bool MACH_SUN8I
36
+ bool "Support for the Allwinner A23 PIO"
37
+ default MACH_SUN8I
2838 select PINCTRL_SUNXI
2939
3040 config PINCTRL_SUN8I_A33
31
- def_bool MACH_SUN8I
41
+ bool "Support for the Allwinner A33 PIO"
42
+ default MACH_SUN8I
3243 select PINCTRL_SUNXI
3344
3445 config PINCTRL_SUN8I_A83T
35
- def_bool MACH_SUN8I
46
+ bool "Support for the Allwinner A83T PIO"
47
+ default MACH_SUN8I
3648 select PINCTRL_SUNXI
3749
3850 config PINCTRL_SUN8I_A83T_R
39
- def_bool MACH_SUN8I
51
+ bool "Support for the Allwinner A83T R-PIO"
52
+ default MACH_SUN8I
4053 select PINCTRL_SUNXI
4154
4255 config PINCTRL_SUN8I_A23_R
43
- def_bool MACH_SUN8I
56
+ bool "Support for the Allwinner A23 and A33 R-PIO"
57
+ default MACH_SUN8I
4458 depends on RESET_CONTROLLER
4559 select PINCTRL_SUNXI
4660
4761 config PINCTRL_SUN8I_H3
48
- def_bool MACH_SUN8I
62
+ bool "Support for the Allwinner H3 PIO"
63
+ default MACH_SUN8I
4964 select PINCTRL_SUNXI
5065
5166 config PINCTRL_SUN8I_H3_R
52
- def_bool MACH_SUN8I || (ARM64 && ARCH_SUNXI)
67
+ bool "Support for the Allwinner H3 and H5 R-PIO"
68
+ default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
5369 select PINCTRL_SUNXI
5470
5571 config PINCTRL_SUN8I_V3S
56
- def_bool MACH_SUN8I
72
+ bool "Support for the Allwinner V3s PIO"
73
+ default MACH_SUN8I
5774 select PINCTRL_SUNXI
5875
5976 config PINCTRL_SUN9I_A80
60
- def_bool MACH_SUN9I
77
+ bool "Support for the Allwinner A80 PIO"
78
+ default MACH_SUN9I
6179 select PINCTRL_SUNXI
6280
6381 config PINCTRL_SUN9I_A80_R
64
- def_bool MACH_SUN9I
82
+ bool "Support for the Allwinner A80 R-PIO"
83
+ default MACH_SUN9I
6584 depends on RESET_CONTROLLER
6685 select PINCTRL_SUNXI
6786
6887 config PINCTRL_SUN50I_A64
69
- def_bool ARM64 && ARCH_SUNXI
88
+ bool "Support for the Allwinner A64 PIO"
89
+ default ARM64 && ARCH_SUNXI
7090 select PINCTRL_SUNXI
7191
7292 config PINCTRL_SUN50I_A64_R
73
- def_bool ARM64 && ARCH_SUNXI
93
+ bool "Support for the Allwinner A64 R-PIO"
94
+ default ARM64 && ARCH_SUNXI
95
+ select PINCTRL_SUNXI
96
+
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
74105 select PINCTRL_SUNXI
75106
76107 config PINCTRL_SUN50I_H5
77
- def_bool ARM64 && ARCH_SUNXI
108
+ bool "Support for the Allwinner H5 PIO"
109
+ default ARM64 && ARCH_SUNXI
78110 select PINCTRL_SUNXI
79111
80112 config PINCTRL_SUN50I_H6
81
- def_bool ARM64 && ARCH_SUNXI
113
+ bool "Support for the Allwinner H6 PIO"
114
+ default ARM64 && ARCH_SUNXI
82115 select PINCTRL_SUNXI
83116
84117 config PINCTRL_SUN50I_H6_R
85
- def_bool ARM64 && ARCH_SUNXI
118
+ bool "Support for the Allwinner H6 R-PIO"
119
+ default ARM64 && ARCH_SUNXI
86120 select PINCTRL_SUNXI
87121
88122 endif