OSDN Git Service

gpio: Add Spreadtrum PMIC EIC driver support
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 5 Mar 2018 02:56:52 +0000 (10:56 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 27 Mar 2018 13:51:22 +0000 (15:51 +0200)
commit348f3cde84ab5b1f53cd3c0eaac1ca99a4dcb148
treebcd6025221e42371cf8b86005e5819271671845e
parent25518e024e3a6e5715d672f1daa91e1d100f7436
gpio: Add Spreadtrum PMIC EIC driver support

The Spreadtrum PMIC EIC controller contains only one bank of debounce EIC,
and this bank contains 16 EICs. Each EIC can only be used as input mode,
as well as supporting the debounce and 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-pmic-eic-sprd.c [new file with mode: 0644]