blob: 7e6a2684949a676597df4ae05d022809823c4671 [file] [log] [blame]
Maxime Ripard5f910772014-04-18 18:53:02 +02001if ARCH_SUNXI
2
Maxime Ripard118c5652014-05-22 16:47:12 +02003config PINCTRL_SUNXI_COMMON
4 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
Maxime Ripard118c5652014-05-22 16:47:12 +020010 select PINCTRL_SUNXI_COMMON
Maxime Ripard340ba6c2014-04-26 17:06:57 +020011
12config PINCTRL_SUN5I_A10S
Maxime Ripardd9ff0812014-06-29 15:58:19 +020013 def_bool MACH_SUN5I
Maxime Ripard118c5652014-05-22 16:47:12 +020014 select PINCTRL_SUNXI_COMMON
Maxime Ripard340ba6c2014-04-26 17:06:57 +020015
16config PINCTRL_SUN5I_A13
Maxime Ripardd9ff0812014-06-29 15:58:19 +020017 def_bool MACH_SUN5I
Maxime Ripard118c5652014-05-22 16:47:12 +020018 select PINCTRL_SUNXI_COMMON
Maxime Ripard340ba6c2014-04-26 17:06:57 +020019
20config PINCTRL_SUN6I_A31
Maxime Ripardd9ff0812014-06-29 15:58:19 +020021 def_bool MACH_SUN6I
Maxime Ripard118c5652014-05-22 16:47:12 +020022 select PINCTRL_SUNXI_COMMON
Maxime Ripard340ba6c2014-04-26 17:06:57 +020023
24config PINCTRL_SUN6I_A31_R
Maxime Ripardd9ff0812014-06-29 15:58:19 +020025 def_bool MACH_SUN6I
Maxime Ripardde5af042014-05-23 20:50:43 +020026 depends on RESET_CONTROLLER
Maxime Ripard118c5652014-05-22 16:47:12 +020027 select PINCTRL_SUNXI_COMMON
Maxime Ripard340ba6c2014-04-26 17:06:57 +020028
29config PINCTRL_SUN7I_A20
Maxime Ripardd9ff0812014-06-29 15:58:19 +020030 def_bool MACH_SUN7I
Maxime Ripard118c5652014-05-22 16:47:12 +020031 select PINCTRL_SUNXI_COMMON
Maxime Ripard340ba6c2014-04-26 17:06:57 +020032
Chen-Yu Tsai4c821d12014-06-17 22:52:51 +080033config PINCTRL_SUN8I_A23
34 def_bool MACH_SUN8I
35 select PINCTRL_SUNXI_COMMON
36
Maxime Ripard5f910772014-04-18 18:53:02 +020037endif