diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-02-24 03:07:18 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-02 11:00:43 +0100 |
commit | 9a3821c2bb47d2582b0c8f053d4c3bed7bd8d3d1 (patch) | |
tree | b75309f0da6d25e300449e7ee4e547984c7e0c0c /drivers/gpio/Kconfig | |
parent | dt-bindings: gpio: Add Spreadtrum GPIO controller documentation (diff) | |
download | linux-9a3821c2bb47d2582b0c8f053d4c3bed7bd8d3d1.tar.xz linux-9a3821c2bb47d2582b0c8f053d4c3bed7bd8d3d1.zip |
gpio: Add GPIO driver for Spreadtrum SC9860 platform
The Spreadtrum SC9860 platform GPIO controller contains 16 groups and
each group contains 16 GPIOs. Each GPIO can set input/output and has
the interrupt capability.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 52a8b0a6f4e1..f298a18b1f69 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -416,6 +416,14 @@ config GPIO_SPEAR_SPICS help Say yes here to support ST SPEAr SPI Chip Select as GPIO device +config GPIO_SPRD + tristate "Spreadtrum GPIO support" + depends on ARCH_SPRD || COMPILE_TEST + depends on OF_GPIO + select GPIOLIB_IRQCHIP + help + Say yes here to support Spreadtrum GPIO device. + config GPIO_STA2X11 bool "STA2x11/ConneXt GPIO support" depends on MFD_STA2X11 |