blob: a0c419ac2a3b7900c4ca6012116a296adcf02db3 [file] [log] [blame]
Maxime Ripard5f910772014-04-18 18:53:02 +02001if ARCH_SUNXI
2
Masahiro Yamada3a42a042016-01-24 00:32:09 +09003config PINCTRL_SUNXI
Maxime Ripard118c5652014-05-22 16:47:12 +02004 bool
Maxime Ripard5f910772014-04-18 18:53:02 +02005 select PINMUX
6 select GENERIC_PINCONF
7
Maxime Ripard340ba6c2014-04-26 17:06:57 +02008config PINCTRL_SUN4I_A10
Maxime Ripardd9ff0812014-06-29 15:58:19 +02009 def_bool MACH_SUN4I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090010 select PINCTRL_SUNXI
Maxime Ripard340ba6c2014-04-26 17:06:57 +020011
Maxime Ripard858f5592017-01-08 22:31:16 +010012config PINCTRL_SUN5I
Maxime Ripardd9ff0812014-06-29 15:58:19 +020013 def_bool MACH_SUN5I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090014 select PINCTRL_SUNXI
Maxime Ripard340ba6c2014-04-26 17:06:57 +020015
Maxime Ripard340ba6c2014-04-26 17:06:57 +020016config PINCTRL_SUN6I_A31
Maxime Ripardd9ff0812014-06-29 15:58:19 +020017 def_bool MACH_SUN6I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090018 select PINCTRL_SUNXI
Maxime Ripard340ba6c2014-04-26 17:06:57 +020019
20config PINCTRL_SUN6I_A31_R
Maxime Ripardd9ff0812014-06-29 15:58:19 +020021 def_bool MACH_SUN6I
Maxime Ripardde5af042014-05-23 20:50:43 +020022 depends on RESET_CONTROLLER
Masahiro Yamada3a42a042016-01-24 00:32:09 +090023 select PINCTRL_SUNXI
Maxime Ripard340ba6c2014-04-26 17:06:57 +020024
25config PINCTRL_SUN7I_A20
Maxime Ripardd9ff0812014-06-29 15:58:19 +020026 def_bool MACH_SUN7I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090027 select PINCTRL_SUNXI
Maxime Ripard340ba6c2014-04-26 17:06:57 +020028
Chen-Yu Tsai4c821d12014-06-17 22:52:51 +080029config PINCTRL_SUN8I_A23
30 def_bool MACH_SUN8I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090031 select PINCTRL_SUNXI
Chen-Yu Tsai4c821d12014-06-17 22:52:51 +080032
Vishnu Patekar71648732015-06-02 11:08:40 +020033config PINCTRL_SUN8I_A33
34 def_bool MACH_SUN8I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090035 select PINCTRL_SUNXI
Vishnu Patekar71648732015-06-02 11:08:40 +020036
Vishnu Patekar4730f332015-09-22 23:38:55 +080037config PINCTRL_SUN8I_A83T
38 def_bool MACH_SUN8I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090039 select PINCTRL_SUNXI
Vishnu Patekar4730f332015-09-22 23:38:55 +080040
Chen-Yu Tsaid22bf402014-06-17 22:52:52 +080041config PINCTRL_SUN8I_A23_R
42 def_bool MACH_SUN8I
43 depends on RESET_CONTROLLER
Masahiro Yamada3a42a042016-01-24 00:32:09 +090044 select PINCTRL_SUNXI
Chen-Yu Tsaid22bf402014-06-17 22:52:52 +080045
Jens Kuskee87623c2015-12-04 22:24:41 +010046config PINCTRL_SUN8I_H3
47 def_bool MACH_SUN8I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090048 select PINCTRL_SUNXI
Jens Kuskee87623c2015-12-04 22:24:41 +010049
Krzysztof Adamskiba83a112016-02-02 22:21:51 +010050config PINCTRL_SUN8I_H3_R
Icenowy Zheng082bc282017-03-02 02:01:07 +080051 def_bool MACH_SUN8I || (ARM64 && ARCH_SUNXI)
52 select PINCTRL_SUNXI
Krzysztof Adamskiba83a112016-02-02 22:21:51 +010053
Icenowy Zheng56d9e4a2017-01-03 23:16:27 +080054config PINCTRL_SUN8I_V3S
55 def_bool MACH_SUN8I
56 select PINCTRL_SUNXI
57
Maxime Ripardd5e9fb32014-10-28 22:41:27 +010058config PINCTRL_SUN9I_A80
59 def_bool MACH_SUN9I
Masahiro Yamada3a42a042016-01-24 00:32:09 +090060 select PINCTRL_SUNXI
Maxime Ripardd5e9fb32014-10-28 22:41:27 +010061
Maxime Ripard0eccc9c2015-12-17 00:39:42 +080062config PINCTRL_SUN9I_A80_R
63 def_bool MACH_SUN9I
64 depends on RESET_CONTROLLER
Masahiro Yamada3a42a042016-01-24 00:32:09 +090065 select PINCTRL_SUNXI
Maxime Ripard0eccc9c2015-12-17 00:39:42 +080066
Andre Przywara96851d32016-03-08 16:37:59 +070067config PINCTRL_SUN50I_A64
Icenowy Zheng082bc282017-03-02 02:01:07 +080068 def_bool ARM64 && ARCH_SUNXI
Andre Przywara96851d32016-03-08 16:37:59 +070069 select PINCTRL_SUNXI
70
Icenowy Zheng14c868b2017-03-02 02:09:30 +080071config PINCTRL_SUN50I_A64_R
72 def_bool ARM64 && ARCH_SUNXI
73 select PINCTRL_SUNXI
74
Icenowy Zheng838adb52017-01-26 23:48:51 +080075config PINCTRL_SUN50I_H5
Icenowy Zheng082bc282017-03-02 02:01:07 +080076 def_bool ARM64 && ARCH_SUNXI
Icenowy Zheng838adb52017-01-26 23:48:51 +080077 select PINCTRL_SUNXI
78
Maxime Ripard5f910772014-04-18 18:53:02 +020079endif