xref: /linux/drivers/pinctrl/sunxi/Kconfig (revision c69a26b57bd8680aa947a443cbf37635f089bf50)
15f910777SMaxime Ripardif ARCH_SUNXI
25f910777SMaxime Ripard
33a42a042SMasahiro Yamadaconfig PINCTRL_SUNXI
4118c565aSMaxime Ripard	bool
55f910777SMaxime Ripard	select PINMUX
65f910777SMaxime Ripard	select GENERIC_PINCONF
79396f441SIcenowy Zheng	select GPIOLIB
85f910777SMaxime Ripard
99088276dSMesih Kilincconfig PINCTRL_SUNIV_F1C100S
109088276dSMesih Kilinc	def_bool MACH_SUNIV
119088276dSMesih Kilinc	select PINCTRL_SUNXI
129088276dSMesih Kilinc
13340ba6c4SMaxime Ripardconfig PINCTRL_SUN4I_A10
14*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A10, A20 and R40 PIO"
15*c69a26b5SMaxime Ripard	default MACH_SUN4I || MACH_SUN7I || MACH_SUN8I
163a42a042SMasahiro Yamada	select PINCTRL_SUNXI
17340ba6c4SMaxime Ripard
18858f559fSMaxime Ripardconfig PINCTRL_SUN5I
19*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO"
20*c69a26b5SMaxime Ripard	default MACH_SUN5I
213a42a042SMasahiro Yamada	select PINCTRL_SUNXI
22340ba6c4SMaxime Ripard
23340ba6c4SMaxime Ripardconfig PINCTRL_SUN6I_A31
24*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A31 PIO"
25*c69a26b5SMaxime Ripard	default MACH_SUN6I
263a42a042SMasahiro Yamada	select PINCTRL_SUNXI
27340ba6c4SMaxime Ripard
28340ba6c4SMaxime Ripardconfig PINCTRL_SUN6I_A31_R
29*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A31 R-PIO"
30*c69a26b5SMaxime Ripard	default MACH_SUN6I
31de5af04eSMaxime Ripard	depends on RESET_CONTROLLER
323a42a042SMasahiro Yamada	select PINCTRL_SUNXI
33340ba6c4SMaxime Ripard
344c821d1cSChen-Yu Tsaiconfig PINCTRL_SUN8I_A23
35*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A23 PIO"
36*c69a26b5SMaxime Ripard	default MACH_SUN8I
373a42a042SMasahiro Yamada	select PINCTRL_SUNXI
384c821d1cSChen-Yu Tsai
397164873eSVishnu Patekarconfig PINCTRL_SUN8I_A33
40*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A33 PIO"
41*c69a26b5SMaxime Ripard	default MACH_SUN8I
423a42a042SMasahiro Yamada	select PINCTRL_SUNXI
437164873eSVishnu Patekar
444730f33fSVishnu Patekarconfig PINCTRL_SUN8I_A83T
45*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A83T PIO"
46*c69a26b5SMaxime Ripard	default MACH_SUN8I
473a42a042SMasahiro Yamada	select PINCTRL_SUNXI
484730f33fSVishnu Patekar
4941633edfSChen-Yu Tsaiconfig PINCTRL_SUN8I_A83T_R
50*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A83T R-PIO"
51*c69a26b5SMaxime Ripard	default MACH_SUN8I
5241633edfSChen-Yu Tsai	select PINCTRL_SUNXI
5341633edfSChen-Yu Tsai
54d22bf40fSChen-Yu Tsaiconfig PINCTRL_SUN8I_A23_R
55*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A23 and A33 R-PIO"
56*c69a26b5SMaxime Ripard	default MACH_SUN8I
57d22bf40fSChen-Yu Tsai	depends on RESET_CONTROLLER
583a42a042SMasahiro Yamada	select PINCTRL_SUNXI
59d22bf40fSChen-Yu Tsai
60e87623cbSJens Kuskeconfig PINCTRL_SUN8I_H3
61*c69a26b5SMaxime Ripard	bool "Support for the Allwinner H3 PIO"
62*c69a26b5SMaxime Ripard	default MACH_SUN8I
633a42a042SMasahiro Yamada	select PINCTRL_SUNXI
64e87623cbSJens Kuske
65ba83a111SKrzysztof Adamskiconfig PINCTRL_SUN8I_H3_R
66*c69a26b5SMaxime Ripard	bool "Support for the Allwinner H3 and H5 R-PIO"
67*c69a26b5SMaxime Ripard	default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
68082bc28cSIcenowy Zheng	select PINCTRL_SUNXI
69ba83a111SKrzysztof Adamski
7056d9e4a7SIcenowy Zhengconfig PINCTRL_SUN8I_V3S
71*c69a26b5SMaxime Ripard	bool "Support for the Allwinner V3s PIO"
72*c69a26b5SMaxime Ripard	default MACH_SUN8I
7356d9e4a7SIcenowy Zheng	select PINCTRL_SUNXI
7456d9e4a7SIcenowy Zheng
75d5e9fb31SMaxime Ripardconfig PINCTRL_SUN9I_A80
76*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A80 PIO"
77*c69a26b5SMaxime Ripard	default MACH_SUN9I
783a42a042SMasahiro Yamada	select PINCTRL_SUNXI
79d5e9fb31SMaxime Ripard
800eccc9cbSMaxime Ripardconfig PINCTRL_SUN9I_A80_R
81*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A80 R-PIO"
82*c69a26b5SMaxime Ripard	default MACH_SUN9I
830eccc9cbSMaxime Ripard	depends on RESET_CONTROLLER
843a42a042SMasahiro Yamada	select PINCTRL_SUNXI
850eccc9cbSMaxime Ripard
8696851d39SAndre Przywaraconfig PINCTRL_SUN50I_A64
87*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A64 PIO"
88*c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
8996851d39SAndre Przywara	select PINCTRL_SUNXI
9096851d39SAndre Przywara
9114c868b0SIcenowy Zhengconfig PINCTRL_SUN50I_A64_R
92*c69a26b5SMaxime Ripard	bool "Support for the Allwinner A64 R-PIO"
93*c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
9414c868b0SIcenowy Zheng	select PINCTRL_SUNXI
9514c868b0SIcenowy Zheng
96838adb57SIcenowy Zhengconfig PINCTRL_SUN50I_H5
97*c69a26b5SMaxime Ripard	bool "Support for the Allwinner H5 PIO"
98*c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
99838adb57SIcenowy Zheng	select PINCTRL_SUNXI
100838adb57SIcenowy Zheng
101c8a83090SIcenowy Zhengconfig PINCTRL_SUN50I_H6
102*c69a26b5SMaxime Ripard	bool "Support for the Allwinner H6 PIO"
103*c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
104c8a83090SIcenowy Zheng	select PINCTRL_SUNXI
105c8a83090SIcenowy Zheng
106ba5554dcSIcenowy Zhengconfig PINCTRL_SUN50I_H6_R
107*c69a26b5SMaxime Ripard	bool "Support for the Allwinner H6 R-PIO"
108*c69a26b5SMaxime Ripard	default ARM64 && ARCH_SUNXI
109ba5554dcSIcenowy Zheng	select PINCTRL_SUNXI
110ba5554dcSIcenowy Zheng
1115f910777SMaxime Ripardendif
112