summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang2018-03-05 03:56:51 +0100
committerLinus Walleij2018-03-27 15:51:17 +0200
commit25518e024e3a6e5715d672f1daa91e1d100f7436 (patch)
tree88a2df56920cf54b262fcd03ee4facc42dd5f019 /drivers/gpio/Kconfig
parentdt-bindings: gpio: Add Spreadtrum EIC controller documentation (diff)
downloadkernel-qcow2-linux-25518e024e3a6e5715d672f1daa91e1d100f7436.tar.gz
kernel-qcow2-linux-25518e024e3a6e5715d672f1daa91e1d100f7436.tar.xz
kernel-qcow2-linux-25518e024e3a6e5715d672f1daa91e1d100f7436.zip
gpio: Add Spreadtrum EIC driver support
The Spreadtrum digital-chip EIC controller has 4 sub-modules: debounce EIC, latch EIC, async EIC and sync EIC, and each sub-module can has multiple banks and each bank contains 8 EICs. Each EIC can only be used as input mode, and has the capability to trigger interrupts when detecting input signals. 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 6b1ee11295d5..380aa90501ea 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -170,6 +170,14 @@ config GPIO_DWAPB
Say Y or M here to build support for the Synopsys DesignWare APB
GPIO block.
+config GPIO_EIC_SPRD
+ tristate "Spreadtrum EIC support"
+ depends on ARCH_SPRD || COMPILE_TEST
+ depends on OF_GPIO
+ select GPIOLIB_IRQCHIP
+ help
+ Say yes here to support Spreadtrum EIC device.
+
config GPIO_EM
tristate "Emma Mobile GPIO"
depends on (ARCH_EMEV2 || COMPILE_TEST) && OF_GPIO