xref: /openbmc/linux/drivers/pinctrl/sunxi/Kconfig (revision 0569af48)
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
323a42a042SMasahiro Yamada	select PINCTRL_SUNXI
33340ba6c4SMaxime Ripard
344c821d1cSChen-Yu Tsaiconfig PINCTRL_SUN8I_A23
35c69a26b5SMaxime Ripard	bool "Support for the Allwinner A23 PIO"
36c69a26b5SMaxime Ripard	default MACH_SUN8I
373a42a042SMasahiro Yamada	select PINCTRL_SUNXI
384c821d1cSChen-Yu Tsai
397164873eSVishnu Patekarconfig PINCTRL_SUN8I_A33
40c69a26b5SMaxime Ripard	bool "Support for the Allwinner A33 PIO"
41c69a26b5SMaxime Ripard	default MACH_SUN8I
423a42a042SMasahiro Yamada	select PINCTRL_SUNXI
437164873eSVishnu Patekar
444730f33fSVishnu Patekarconfig PINCTRL_SUN8I_A83T
45c69a26b5SMaxime Ripard	bool "Support for the Allwinner A83T PIO"
46c69a26b5SMaxime Ripard	default MACH_SUN8I
473a42a042SMasahiro Yamada	select PINCTRL_SUNXI
484730f33fSVishnu Patekar
4941633edfSChen-Yu Tsaiconfig PINCTRL_SUN8I_A83T_R
50c69a26b5SMaxime Ripard	bool "Support for the Allwinner A83T R-PIO"
51c69a26b5SMaxime Ripard	default MACH_SUN8I
5241633edfSChen-Yu Tsai	select PINCTRL_SUNXI
5341633edfSChen-Yu Tsai
54d22bf40fSChen-Yu Tsaiconfig PINCTRL_SUN8I_A23_R
55c69a26b5SMaxime Ripard	bool "Support for the Allwinner A23 and A33 R-PIO"
56c69a26b5SMaxime Ripard	default MACH_SUN8I
573a42a042SMasahiro Yamada	select PINCTRL_SUNXI
58d22bf40fSChen-Yu Tsai
59e87623cbSJens Kuskeconfig PINCTRL_SUN8I_H3
60c69a26b5SMaxime Ripard	bool "Support for the Allwinner H3 PIO"
61c69a26b5SMaxime Ripard	default MACH_SUN8I
623a42a042SMasahiro Yamada	select PINCTRL_SUNXI
63e87623cbSJens Kuske
64ba83a111SKrzysztof Adamskiconfig PINCTRL_SUN8I_H3_R
65c69a26b5SMaxime Ripard	bool "Support for the Allwinner H3 and H5 R-PIO"
66c69a26b5SMaxime Ripard	default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
67082bc28cSIcenowy Zheng	select PINCTRL_SUNXI
68ba83a111SKrzysztof Adamski
6956d9e4a7SIcenowy Zhengconfig PINCTRL_SUN8I_V3S
70c69a26b5SMaxime Ripard	bool "Support for the Allwinner V3s PIO"
71c69a26b5SMaxime Ripard	default MACH_SUN8I
7256d9e4a7SIcenowy Zheng	select PINCTRL_SUNXI
7356d9e4a7SIcenowy Zheng
74d5e9fb31SMaxime Ripardconfig PINCTRL_SUN9I_A80
75c69a26b5SMaxime Ripard	bool "Support for the Allwinner A80 PIO"
76c69a26b5SMaxime Ripard	default MACH_SUN9I
773a42a042SMasahiro Yamada	select PINCTRL_SUNXI
78d5e9fb31SMaxime Ripard
790eccc9cbSMaxime Ripardconfig PINCTRL_SUN9I_A80_R
80c69a26b5SMaxime Ripard	bool "Support for the Allwinner A80 R-PIO"
81c69a26b5SMaxime Ripard	default MACH_SUN9I
823a42a042SMasahiro Yamada	select PINCTRL_SUNXI
830eccc9cbSMaxime Ripard
84*0569af48SSamuel Hollandconfig PINCTRL_SUN20I_D1
85*0569af48SSamuel Holland	bool "Support for the Allwinner D1 PIO"
86*0569af48SSamuel Holland	default MACH_SUN8I || (RISCV && ARCH_SUNXI)
87*0569af48SSamuel Holland	select PINCTRL_SUNXI
88*0569af48SSamuel Holland
8996851d39SAndre Przywaraconfig PINCTRL_SUN50I_A64
90c69a26b5SMaxime Ripard	bool "Support for the Allwinner A64 PIO"
91c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
9296851d39SAndre Przywara	select PINCTRL_SUNXI
9396851d39SAndre Przywara
9414c868b0SIcenowy Zhengconfig PINCTRL_SUN50I_A64_R
95c69a26b5SMaxime Ripard	bool "Support for the Allwinner A64 R-PIO"
96c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
9714c868b0SIcenowy Zheng	select PINCTRL_SUNXI
9814c868b0SIcenowy Zheng
99473436e7SYangtao Liconfig PINCTRL_SUN50I_A100
100473436e7SYangtao Li	bool "Support for the Allwinner A100 PIO"
101473436e7SYangtao Li	default ARM64 && ARCH_SUNXI
102473436e7SYangtao Li	select PINCTRL_SUNXI
103473436e7SYangtao Li
104473436e7SYangtao Liconfig PINCTRL_SUN50I_A100_R
105473436e7SYangtao Li	bool "Support for the Allwinner A100 R-PIO"
106473436e7SYangtao Li	default ARM64 && ARCH_SUNXI
107473436e7SYangtao Li	select PINCTRL_SUNXI
108473436e7SYangtao Li
109838adb57SIcenowy Zhengconfig PINCTRL_SUN50I_H5
110c69a26b5SMaxime Ripard	bool "Support for the Allwinner H5 PIO"
111c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
112838adb57SIcenowy Zheng	select PINCTRL_SUNXI
113838adb57SIcenowy Zheng
114c8a83090SIcenowy Zhengconfig PINCTRL_SUN50I_H6
115c69a26b5SMaxime Ripard	bool "Support for the Allwinner H6 PIO"
116c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
117c8a83090SIcenowy Zheng	select PINCTRL_SUNXI
118c8a83090SIcenowy Zheng
119ba5554dcSIcenowy Zhengconfig PINCTRL_SUN50I_H6_R
120c69a26b5SMaxime Ripard	bool "Support for the Allwinner H6 R-PIO"
121c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
122ba5554dcSIcenowy Zheng	select PINCTRL_SUNXI
123ba5554dcSIcenowy Zheng
12425adc294SAndre Przywaraconfig PINCTRL_SUN50I_H616
12525adc294SAndre Przywara	bool "Support for the Allwinner H616 PIO"
12625adc294SAndre Przywara	default ARM64 && ARCH_SUNXI
12725adc294SAndre Przywara	select PINCTRL_SUNXI
12825adc294SAndre Przywara
129561c1cf1SAndre Przywaraconfig PINCTRL_SUN50I_H616_R
130561c1cf1SAndre Przywara	bool "Support for the Allwinner H616 R-PIO"
131561c1cf1SAndre Przywara	default ARM64 && ARCH_SUNXI
132561c1cf1SAndre Przywara	select PINCTRL_SUNXI
133561c1cf1SAndre Przywara
1345f910777SMaxime Ripardendif
135