xref: /openbmc/linux/drivers/pinctrl/sunxi/Kconfig (revision 561c1cf1)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
25f910777SMaxime Ripardif ARCH_SUNXI
35f910777SMaxime Ripard
43a42a042SMasahiro Yamadaconfig PINCTRL_SUNXI
5118c565aSMaxime Ripard	bool
65f910777SMaxime Ripard	select PINMUX
75f910777SMaxime Ripard	select GENERIC_PINCONF
89396f441SIcenowy Zheng	select GPIOLIB
95f910777SMaxime Ripard
109088276dSMesih Kilincconfig PINCTRL_SUNIV_F1C100S
119088276dSMesih Kilinc	def_bool MACH_SUNIV
129088276dSMesih Kilinc	select PINCTRL_SUNXI
139088276dSMesih Kilinc
14340ba6c4SMaxime Ripardconfig PINCTRL_SUN4I_A10
15c69a26b5SMaxime Ripard	bool "Support for the Allwinner A10, A20 and R40 PIO"
16c69a26b5SMaxime Ripard	default MACH_SUN4I || MACH_SUN7I || MACH_SUN8I
173a42a042SMasahiro Yamada	select PINCTRL_SUNXI
18340ba6c4SMaxime Ripard
19858f559fSMaxime Ripardconfig PINCTRL_SUN5I
20c69a26b5SMaxime Ripard	bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO"
21c69a26b5SMaxime Ripard	default MACH_SUN5I
223a42a042SMasahiro Yamada	select PINCTRL_SUNXI
23340ba6c4SMaxime Ripard
24340ba6c4SMaxime Ripardconfig PINCTRL_SUN6I_A31
25c69a26b5SMaxime Ripard	bool "Support for the Allwinner A31 PIO"
26c69a26b5SMaxime Ripard	default MACH_SUN6I
273a42a042SMasahiro Yamada	select PINCTRL_SUNXI
28340ba6c4SMaxime Ripard
29340ba6c4SMaxime Ripardconfig PINCTRL_SUN6I_A31_R
30c69a26b5SMaxime Ripard	bool "Support for the Allwinner A31 R-PIO"
31c69a26b5SMaxime Ripard	default MACH_SUN6I
32de5af04eSMaxime Ripard	depends on RESET_CONTROLLER
333a42a042SMasahiro Yamada	select PINCTRL_SUNXI
34340ba6c4SMaxime Ripard
354c821d1cSChen-Yu Tsaiconfig PINCTRL_SUN8I_A23
36c69a26b5SMaxime Ripard	bool "Support for the Allwinner A23 PIO"
37c69a26b5SMaxime Ripard	default MACH_SUN8I
383a42a042SMasahiro Yamada	select PINCTRL_SUNXI
394c821d1cSChen-Yu Tsai
407164873eSVishnu Patekarconfig PINCTRL_SUN8I_A33
41c69a26b5SMaxime Ripard	bool "Support for the Allwinner A33 PIO"
42c69a26b5SMaxime Ripard	default MACH_SUN8I
433a42a042SMasahiro Yamada	select PINCTRL_SUNXI
447164873eSVishnu Patekar
454730f33fSVishnu Patekarconfig PINCTRL_SUN8I_A83T
46c69a26b5SMaxime Ripard	bool "Support for the Allwinner A83T PIO"
47c69a26b5SMaxime Ripard	default MACH_SUN8I
483a42a042SMasahiro Yamada	select PINCTRL_SUNXI
494730f33fSVishnu Patekar
5041633edfSChen-Yu Tsaiconfig PINCTRL_SUN8I_A83T_R
51c69a26b5SMaxime Ripard	bool "Support for the Allwinner A83T R-PIO"
52c69a26b5SMaxime Ripard	default MACH_SUN8I
5341633edfSChen-Yu Tsai	select PINCTRL_SUNXI
5441633edfSChen-Yu Tsai
55d22bf40fSChen-Yu Tsaiconfig PINCTRL_SUN8I_A23_R
56c69a26b5SMaxime Ripard	bool "Support for the Allwinner A23 and A33 R-PIO"
57c69a26b5SMaxime Ripard	default MACH_SUN8I
58d22bf40fSChen-Yu Tsai	depends on RESET_CONTROLLER
593a42a042SMasahiro Yamada	select PINCTRL_SUNXI
60d22bf40fSChen-Yu Tsai
61e87623cbSJens Kuskeconfig PINCTRL_SUN8I_H3
62c69a26b5SMaxime Ripard	bool "Support for the Allwinner H3 PIO"
63c69a26b5SMaxime Ripard	default MACH_SUN8I
643a42a042SMasahiro Yamada	select PINCTRL_SUNXI
65e87623cbSJens Kuske
66ba83a111SKrzysztof Adamskiconfig PINCTRL_SUN8I_H3_R
67c69a26b5SMaxime Ripard	bool "Support for the Allwinner H3 and H5 R-PIO"
68c69a26b5SMaxime Ripard	default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
69082bc28cSIcenowy Zheng	select PINCTRL_SUNXI
70ba83a111SKrzysztof Adamski
7156d9e4a7SIcenowy Zhengconfig PINCTRL_SUN8I_V3S
72c69a26b5SMaxime Ripard	bool "Support for the Allwinner V3s PIO"
73c69a26b5SMaxime Ripard	default MACH_SUN8I
7456d9e4a7SIcenowy Zheng	select PINCTRL_SUNXI
7556d9e4a7SIcenowy Zheng
76d5e9fb31SMaxime Ripardconfig PINCTRL_SUN9I_A80
77c69a26b5SMaxime Ripard	bool "Support for the Allwinner A80 PIO"
78c69a26b5SMaxime Ripard	default MACH_SUN9I
793a42a042SMasahiro Yamada	select PINCTRL_SUNXI
80d5e9fb31SMaxime Ripard
810eccc9cbSMaxime Ripardconfig PINCTRL_SUN9I_A80_R
82c69a26b5SMaxime Ripard	bool "Support for the Allwinner A80 R-PIO"
83c69a26b5SMaxime Ripard	default MACH_SUN9I
840eccc9cbSMaxime Ripard	depends on RESET_CONTROLLER
853a42a042SMasahiro Yamada	select PINCTRL_SUNXI
860eccc9cbSMaxime Ripard
8796851d39SAndre Przywaraconfig PINCTRL_SUN50I_A64
88c69a26b5SMaxime Ripard	bool "Support for the Allwinner A64 PIO"
89c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
9096851d39SAndre Przywara	select PINCTRL_SUNXI
9196851d39SAndre Przywara
9214c868b0SIcenowy Zhengconfig PINCTRL_SUN50I_A64_R
93c69a26b5SMaxime Ripard	bool "Support for the Allwinner A64 R-PIO"
94c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
9514c868b0SIcenowy Zheng	select PINCTRL_SUNXI
9614c868b0SIcenowy Zheng
97473436e7SYangtao Liconfig PINCTRL_SUN50I_A100
98473436e7SYangtao Li	bool "Support for the Allwinner A100 PIO"
99473436e7SYangtao Li	default ARM64 && ARCH_SUNXI
100473436e7SYangtao Li	select PINCTRL_SUNXI
101473436e7SYangtao Li
102473436e7SYangtao Liconfig PINCTRL_SUN50I_A100_R
103473436e7SYangtao Li	bool "Support for the Allwinner A100 R-PIO"
104473436e7SYangtao Li	default ARM64 && ARCH_SUNXI
105473436e7SYangtao Li	select PINCTRL_SUNXI
106473436e7SYangtao Li
107838adb57SIcenowy Zhengconfig PINCTRL_SUN50I_H5
108c69a26b5SMaxime Ripard	bool "Support for the Allwinner H5 PIO"
109c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
110838adb57SIcenowy Zheng	select PINCTRL_SUNXI
111838adb57SIcenowy Zheng
112c8a83090SIcenowy Zhengconfig PINCTRL_SUN50I_H6
113c69a26b5SMaxime Ripard	bool "Support for the Allwinner H6 PIO"
114c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
115c8a83090SIcenowy Zheng	select PINCTRL_SUNXI
116c8a83090SIcenowy Zheng
117ba5554dcSIcenowy Zhengconfig PINCTRL_SUN50I_H6_R
118c69a26b5SMaxime Ripard	bool "Support for the Allwinner H6 R-PIO"
119c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
120ba5554dcSIcenowy Zheng	select PINCTRL_SUNXI
121ba5554dcSIcenowy Zheng
12225adc294SAndre Przywaraconfig PINCTRL_SUN50I_H616
12325adc294SAndre Przywara	bool "Support for the Allwinner H616 PIO"
12425adc294SAndre Przywara	default ARM64 && ARCH_SUNXI
12525adc294SAndre Przywara	select PINCTRL_SUNXI
12625adc294SAndre Przywara
127*561c1cf1SAndre Przywaraconfig PINCTRL_SUN50I_H616_R
128*561c1cf1SAndre Przywara	bool "Support for the Allwinner H616 R-PIO"
129*561c1cf1SAndre Przywara	default ARM64 && ARCH_SUNXI
130*561c1cf1SAndre Przywara	select PINCTRL_SUNXI
131*561c1cf1SAndre Przywara
1325f910777SMaxime Ripardendif
133