summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-02-24 10:07:18 +0800
committerLinus Walleij <linus.walleij@linaro.org>2018-03-02 11:00:43 +0100
commit9a3821c2bb47d2582b0c8f053d4c3bed7bd8d3d1 (patch)
treeb75309f0da6d25e300449e7ee4e547984c7e0c0c /drivers/gpio/Kconfig
parentc910d6ad2f0af58a0754ac74f3934200a050ac2c (diff)
downloadop-kernel-dev-9a3821c2bb47d2582b0c8f053d4c3bed7bd8d3d1.zip
op-kernel-dev-9a3821c2bb47d2582b0c8f053d4c3bed7bd8d3d1.tar.gz
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/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 52a8b0a..f298a18 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
OpenPOWER on IntegriCloud