Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jisheng Zhang | 2df26ef | 2015-10-16 15:37:07 +0800 | [diff] [blame] | 2 | if (ARCH_BERLIN || COMPILE_TEST) |
Antoine Tenart | 3de68d3 | 2014-05-19 19:36:29 +0200 | [diff] [blame] | 3 | |
| 4 | config PINCTRL_BERLIN |
| 5 | bool |
| 6 | select PINMUX |
| 7 | select REGMAP_MMIO |
| 8 | |
Jisheng Zhang | 423ddc5 | 2018-07-18 14:00:30 +0800 | [diff] [blame] | 9 | config PINCTRL_AS370 |
| 10 | bool "Synaptics as370 pin controller driver" |
| 11 | depends on OF |
| 12 | select PINCTRL_BERLIN |
| 13 | |
Antoine Tenart | b016d1b | 2014-05-19 19:36:31 +0200 | [diff] [blame] | 14 | config PINCTRL_BERLIN_BG2 |
Antoine Tenart | d02f997 | 2015-10-13 23:31:37 +0200 | [diff] [blame] | 15 | def_bool MACH_BERLIN_BG2 |
Antoine Tenart | 9c160bb | 2015-10-13 23:31:39 +0200 | [diff] [blame] | 16 | depends on OF |
Antoine Tenart | b016d1b | 2014-05-19 19:36:31 +0200 | [diff] [blame] | 17 | select PINCTRL_BERLIN |
| 18 | |
Antoine Tenart | 48b6bce | 2014-05-19 19:36:32 +0200 | [diff] [blame] | 19 | config PINCTRL_BERLIN_BG2CD |
Antoine Tenart | d02f997 | 2015-10-13 23:31:37 +0200 | [diff] [blame] | 20 | def_bool MACH_BERLIN_BG2CD |
Antoine Tenart | 9c160bb | 2015-10-13 23:31:39 +0200 | [diff] [blame] | 21 | depends on OF |
Antoine Tenart | 48b6bce | 2014-05-19 19:36:32 +0200 | [diff] [blame] | 22 | select PINCTRL_BERLIN |
| 23 | |
Antoine Tenart | 626eea8 | 2014-05-19 19:36:30 +0200 | [diff] [blame] | 24 | config PINCTRL_BERLIN_BG2Q |
Antoine Tenart | d02f997 | 2015-10-13 23:31:37 +0200 | [diff] [blame] | 25 | def_bool MACH_BERLIN_BG2Q |
Antoine Tenart | 9c160bb | 2015-10-13 23:31:39 +0200 | [diff] [blame] | 26 | depends on OF |
Antoine Tenart | 626eea8 | 2014-05-19 19:36:30 +0200 | [diff] [blame] | 27 | select PINCTRL_BERLIN |
| 28 | |
Jisheng Zhang | bb3ba95 | 2015-10-16 15:37:08 +0800 | [diff] [blame] | 29 | config PINCTRL_BERLIN_BG4CT |
| 30 | bool "Marvell berlin4ct pin controller driver" |
| 31 | depends on OF |
| 32 | select PINCTRL_BERLIN |
| 33 | |
Antoine Tenart | 3de68d3 | 2014-05-19 19:36:29 +0200 | [diff] [blame] | 34 | endif |