gpio: Add Spreadtrum EIC driver support
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 5 Mar 2018 02:56:51 +0000 (10:56 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 27 Mar 2018 13:51:17 +0000 (15:51 +0200)
commit25518e024e3a6e5715d672f1daa91e1d100f7436
tree88a2df56920cf54b262fcd03ee4facc42dd5f019
parentbe520cbc8513ea796c00825e8189d98d67ead33f
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>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-eic-sprd.c [new file with mode: 0644]