diff options
author | Michael Walle <michael@walle.cc> | 2020-09-14 23:43:35 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-09-17 16:00:20 +0100 |
commit | b7536d8749e54923c9a7e8c4175e1e4f9b8c1541 (patch) | |
tree | 0ba951b814a0138d7f4b64495815461a70579f1c /drivers/gpio/Kconfig | |
parent | 9db33d221efcca9503ac481edcbf2b3f4404bdb8 (diff) | |
download | lwn-b7536d8749e54923c9a7e8c4175e1e4f9b8c1541.tar.gz lwn-b7536d8749e54923c9a7e8c4175e1e4f9b8c1541.zip |
gpio: Add support for the sl28cpld GPIO controller
Add support for the GPIO controller of the sl28 board management
controller. This driver is part of a multi-function device.
A controller has 8 lines. There are three different flavors:
full-featured GPIO with interrupt support, input-only and output-only.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 8030fd91a3cc..3799cb6048a2 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1223,6 +1223,18 @@ config GPIO_RC5T583 This driver provides the support for driving/reading the gpio pins of RC5T583 device through standard gpio library. +config GPIO_SL28CPLD + tristate "Kontron sl28cpld GPIO support" + depends on MFD_SL28CPLD || COMPILE_TEST + select GPIO_REGMAP + select GPIOLIB_IRQCHIP + select REGMAP_IRQ + help + This enables support for the GPIOs found on the Kontron sl28 CPLD. + + This driver can also be built as a module. If so, the module will be + called gpio-sl28cpld. + config GPIO_STMPE bool "STMPE GPIOs" depends on MFD_STMPE |