blob: 9b1644d1d4ea1619d1515917d147e658d9613371 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Jisheng Zhang2df26ef2015-10-16 15:37:07 +08002if (ARCH_BERLIN || COMPILE_TEST)
Antoine Tenart3de68d32014-05-19 19:36:29 +02003
4config PINCTRL_BERLIN
5 bool
6 select PINMUX
7 select REGMAP_MMIO
8
Jisheng Zhang423ddc52018-07-18 14:00:30 +08009config PINCTRL_AS370
10 bool "Synaptics as370 pin controller driver"
11 depends on OF
12 select PINCTRL_BERLIN
13
Antoine Tenartb016d1b2014-05-19 19:36:31 +020014config PINCTRL_BERLIN_BG2
Antoine Tenartd02f9972015-10-13 23:31:37 +020015 def_bool MACH_BERLIN_BG2
Antoine Tenart9c160bb2015-10-13 23:31:39 +020016 depends on OF
Antoine Tenartb016d1b2014-05-19 19:36:31 +020017 select PINCTRL_BERLIN
18
Antoine Tenart48b6bce2014-05-19 19:36:32 +020019config PINCTRL_BERLIN_BG2CD
Antoine Tenartd02f9972015-10-13 23:31:37 +020020 def_bool MACH_BERLIN_BG2CD
Antoine Tenart9c160bb2015-10-13 23:31:39 +020021 depends on OF
Antoine Tenart48b6bce2014-05-19 19:36:32 +020022 select PINCTRL_BERLIN
23
Antoine Tenart626eea82014-05-19 19:36:30 +020024config PINCTRL_BERLIN_BG2Q
Antoine Tenartd02f9972015-10-13 23:31:37 +020025 def_bool MACH_BERLIN_BG2Q
Antoine Tenart9c160bb2015-10-13 23:31:39 +020026 depends on OF
Antoine Tenart626eea82014-05-19 19:36:30 +020027 select PINCTRL_BERLIN
28
Jisheng Zhangbb3ba952015-10-16 15:37:08 +080029config PINCTRL_BERLIN_BG4CT
30 bool "Marvell berlin4ct pin controller driver"
31 depends on OF
32 select PINCTRL_BERLIN
33
Antoine Tenart3de68d32014-05-19 19:36:29 +020034endif