summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-12-20 15:44:31 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-12-21 11:50:48 +0100
commitda801ab56ad874897b0b255216767c983e665a4c (patch)
treedba16bd10e264e2f4f989038e7a52e34726817af /drivers/pinctrl/Kconfig
parenta49d784d5a8272d0f63c448fe8dc69e589db006e (diff)
downloadlinux-da801ab56ad874897b0b255216767c983e665a4c.tar.gz
linux-da801ab56ad874897b0b255216767c983e665a4c.tar.bz2
linux-da801ab56ad874897b0b255216767c983e665a4c.zip
pinctrl: ocelot: add MSCC Jaguar2 support
Jaguar2 has the same register layout as Ocelot but it has 64 pins, meaning that there are 2 registers instead of one. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 4c6e83ef716d..a80fca28dc48 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -350,15 +350,14 @@ config PINCTRL_RK805
This selects the pinctrl driver for RK805.
config PINCTRL_OCELOT
- bool "Pinctrl driver for the Microsemi Ocelot SoCs"
- default y
+ bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
depends on OF
- depends on MSCC_OCELOT || COMPILE_TEST
select GPIOLIB
select GPIOLIB_IRQCHIP
select GENERIC_PINCONF
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS
+ select OF_GPIO
select REGMAP_MMIO
source "drivers/pinctrl/actions/Kconfig"