diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2018-01-06 01:09:26 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-09 14:54:59 +0100 |
commit | ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f (patch) | |
tree | a02204f58512c73e3ca06fc3b8f694155a1cd1ad /drivers/pinctrl/Kconfig | |
parent | pinctrl: remove redundant mux_setting clear in pinmux_disable_setting() (diff) | |
download | linux-ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f.tar.xz linux-ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f.zip |
pinctrl: Add Microsemi Ocelot SoC driver
The Microsemi Ocelot SoC has a few pins that can be used as GPIOs or take
multiple other functions. Add a driver for the pinmuxing and the GPIOs.
There is currently no support for interrupts.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r-- | drivers/pinctrl/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 1dd445116432..0f254b35c378 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -357,6 +357,17 @@ config PINCTRL_RK805 help This selects the pinctrl driver for RK805. +config PINCTRL_OCELOT + bool "Pinctrl driver for the Microsemi Ocelot SoCs" + default y + depends on OF + depends on MSCC_OCELOT || COMPILE_TEST + select GPIOLIB + select GENERIC_PINCONF + select GENERIC_PINCTRL_GROUPS + select GENERIC_PINMUX_FUNCTIONS + select REGMAP_MMIO + source "drivers/pinctrl/aspeed/Kconfig" source "drivers/pinctrl/bcm/Kconfig" source "drivers/pinctrl/berlin/Kconfig" |