summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/pinctrl/berlin/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/pinctrl/berlin/Kconfig')
-rw-r--r--kernel/drivers/pinctrl/berlin/Kconfig16
1 files changed, 12 insertions, 4 deletions
diff --git a/kernel/drivers/pinctrl/berlin/Kconfig b/kernel/drivers/pinctrl/berlin/Kconfig
index b18322bc7..8fe6ad779 100644
--- a/kernel/drivers/pinctrl/berlin/Kconfig
+++ b/kernel/drivers/pinctrl/berlin/Kconfig
@@ -1,4 +1,4 @@
-if ARCH_BERLIN
+if (ARCH_BERLIN || COMPILE_TEST)
config PINCTRL_BERLIN
bool
@@ -6,15 +6,23 @@ config PINCTRL_BERLIN
select REGMAP_MMIO
config PINCTRL_BERLIN_BG2
- bool
+ def_bool MACH_BERLIN_BG2
+ depends on OF
select PINCTRL_BERLIN
config PINCTRL_BERLIN_BG2CD
- bool
+ def_bool MACH_BERLIN_BG2CD
+ depends on OF
select PINCTRL_BERLIN
config PINCTRL_BERLIN_BG2Q
- bool
+ def_bool MACH_BERLIN_BG2Q
+ depends on OF
+ select PINCTRL_BERLIN
+
+config PINCTRL_BERLIN_BG4CT
+ bool "Marvell berlin4ct pin controller driver"
+ depends on OF
select PINCTRL_BERLIN
endif