xref: /linux/drivers/pinctrl/sunxi/Kconfig (revision 9088276d1a86c7a377e89e2d3221176cd2cc37c5)
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
9*9088276dSMesih Kilincconfig PINCTRL_SUNIV_F1C100S
10*9088276dSMesih Kilinc	def_bool MACH_SUNIV
11*9088276dSMesih Kilinc	select PINCTRL_SUNXI
12*9088276dSMesih Kilinc
13340ba6c4SMaxime Ripardconfig PINCTRL_SUN4I_A10
14cad4e209SIcenowy Zheng	def_bool MACH_SUN4I || MACH_SUN7I || MACH_SUN8I
153a42a042SMasahiro Yamada	select PINCTRL_SUNXI
16340ba6c4SMaxime Ripard
17858f559fSMaxime Ripardconfig PINCTRL_SUN5I
18d9ff081dSMaxime Ripard	def_bool MACH_SUN5I
193a42a042SMasahiro Yamada	select PINCTRL_SUNXI
20340ba6c4SMaxime Ripard
21340ba6c4SMaxime Ripardconfig PINCTRL_SUN6I_A31
22d9ff081dSMaxime Ripard	def_bool MACH_SUN6I
233a42a042SMasahiro Yamada	select PINCTRL_SUNXI
24340ba6c4SMaxime Ripard
25340ba6c4SMaxime Ripardconfig PINCTRL_SUN6I_A31_R
26d9ff081dSMaxime Ripard	def_bool MACH_SUN6I
27de5af04eSMaxime Ripard	depends on RESET_CONTROLLER
283a42a042SMasahiro Yamada	select PINCTRL_SUNXI
29340ba6c4SMaxime Ripard
304c821d1cSChen-Yu Tsaiconfig PINCTRL_SUN8I_A23
314c821d1cSChen-Yu Tsai	def_bool MACH_SUN8I
323a42a042SMasahiro Yamada	select PINCTRL_SUNXI
334c821d1cSChen-Yu Tsai
347164873eSVishnu Patekarconfig PINCTRL_SUN8I_A33
357164873eSVishnu Patekar	def_bool MACH_SUN8I
363a42a042SMasahiro Yamada	select PINCTRL_SUNXI
377164873eSVishnu Patekar
384730f33fSVishnu Patekarconfig PINCTRL_SUN8I_A83T
394730f33fSVishnu Patekar	def_bool MACH_SUN8I
403a42a042SMasahiro Yamada	select PINCTRL_SUNXI
414730f33fSVishnu Patekar
4241633edfSChen-Yu Tsaiconfig PINCTRL_SUN8I_A83T_R
4341633edfSChen-Yu Tsai	def_bool MACH_SUN8I
4441633edfSChen-Yu Tsai	select PINCTRL_SUNXI
4541633edfSChen-Yu Tsai
46d22bf40fSChen-Yu Tsaiconfig PINCTRL_SUN8I_A23_R
47d22bf40fSChen-Yu Tsai	def_bool MACH_SUN8I
48d22bf40fSChen-Yu Tsai	depends on RESET_CONTROLLER
493a42a042SMasahiro Yamada	select PINCTRL_SUNXI
50d22bf40fSChen-Yu Tsai
51e87623cbSJens Kuskeconfig PINCTRL_SUN8I_H3
52e87623cbSJens Kuske	def_bool MACH_SUN8I
533a42a042SMasahiro Yamada	select PINCTRL_SUNXI
54e87623cbSJens Kuske
55ba83a111SKrzysztof Adamskiconfig PINCTRL_SUN8I_H3_R
56082bc28cSIcenowy Zheng	def_bool MACH_SUN8I || (ARM64 && ARCH_SUNXI)
57082bc28cSIcenowy Zheng	select PINCTRL_SUNXI
58ba83a111SKrzysztof Adamski
5956d9e4a7SIcenowy Zhengconfig PINCTRL_SUN8I_V3S
6056d9e4a7SIcenowy Zheng	def_bool MACH_SUN8I
6156d9e4a7SIcenowy Zheng	select PINCTRL_SUNXI
6256d9e4a7SIcenowy Zheng
63d5e9fb31SMaxime Ripardconfig PINCTRL_SUN9I_A80
64d5e9fb31SMaxime Ripard	def_bool MACH_SUN9I
653a42a042SMasahiro Yamada	select PINCTRL_SUNXI
66d5e9fb31SMaxime Ripard
670eccc9cbSMaxime Ripardconfig PINCTRL_SUN9I_A80_R
680eccc9cbSMaxime Ripard	def_bool MACH_SUN9I
690eccc9cbSMaxime Ripard	depends on RESET_CONTROLLER
703a42a042SMasahiro Yamada	select PINCTRL_SUNXI
710eccc9cbSMaxime Ripard
7296851d39SAndre Przywaraconfig PINCTRL_SUN50I_A64
73082bc28cSIcenowy Zheng	def_bool ARM64 && ARCH_SUNXI
7496851d39SAndre Przywara	select PINCTRL_SUNXI
7596851d39SAndre Przywara
7614c868b0SIcenowy Zhengconfig PINCTRL_SUN50I_A64_R
7714c868b0SIcenowy Zheng	def_bool ARM64 && ARCH_SUNXI
7814c868b0SIcenowy Zheng	select PINCTRL_SUNXI
7914c868b0SIcenowy Zheng
80838adb57SIcenowy Zhengconfig PINCTRL_SUN50I_H5
81082bc28cSIcenowy Zheng	def_bool ARM64 && ARCH_SUNXI
82838adb57SIcenowy Zheng	select PINCTRL_SUNXI
83838adb57SIcenowy Zheng
84c8a83090SIcenowy Zhengconfig PINCTRL_SUN50I_H6
85c8a83090SIcenowy Zheng	def_bool ARM64 && ARCH_SUNXI
86c8a83090SIcenowy Zheng	select PINCTRL_SUNXI
87c8a83090SIcenowy Zheng
88ba5554dcSIcenowy Zhengconfig PINCTRL_SUN50I_H6_R
89ba5554dcSIcenowy Zheng	def_bool ARM64 && ARCH_SUNXI
90ba5554dcSIcenowy Zheng	select PINCTRL_SUNXI
91ba5554dcSIcenowy Zheng
925f910777SMaxime Ripardendif
93