blob: 8fe6ad7795dc32b7f6a4549339760b6700b3eae9 [file] [log] [blame]
Jisheng Zhang2df26ef2015-10-16 15:37:07 +08001if (ARCH_BERLIN || COMPILE_TEST)
Antoine Tenart3de68d32014-05-19 19:36:29 +02002
3config PINCTRL_BERLIN
4 bool
5 select PINMUX
6 select REGMAP_MMIO
7
Antoine Tenartb016d1b2014-05-19 19:36:31 +02008config PINCTRL_BERLIN_BG2
Antoine Tenartd02f9972015-10-13 23:31:37 +02009 def_bool MACH_BERLIN_BG2
Antoine Tenart9c160bb2015-10-13 23:31:39 +020010 depends on OF
Antoine Tenartb016d1b2014-05-19 19:36:31 +020011 select PINCTRL_BERLIN
12
Antoine Tenart48b6bce2014-05-19 19:36:32 +020013config PINCTRL_BERLIN_BG2CD
Antoine Tenartd02f9972015-10-13 23:31:37 +020014 def_bool MACH_BERLIN_BG2CD
Antoine Tenart9c160bb2015-10-13 23:31:39 +020015 depends on OF
Antoine Tenart48b6bce2014-05-19 19:36:32 +020016 select PINCTRL_BERLIN
17
Antoine Tenart626eea82014-05-19 19:36:30 +020018config PINCTRL_BERLIN_BG2Q
Antoine Tenartd02f9972015-10-13 23:31:37 +020019 def_bool MACH_BERLIN_BG2Q
Antoine Tenart9c160bb2015-10-13 23:31:39 +020020 depends on OF
Antoine Tenart626eea82014-05-19 19:36:30 +020021 select PINCTRL_BERLIN
22
Jisheng Zhangbb3ba952015-10-16 15:37:08 +080023config PINCTRL_BERLIN_BG4CT
24 bool "Marvell berlin4ct pin controller driver"
25 depends on OF
26 select PINCTRL_BERLIN
27
Antoine Tenart3de68d32014-05-19 19:36:29 +020028endif