aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pmic-eic-sprd.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-05-16gpio: pmic_eic: Add edge trigger emulation for PMIC EICBaolin Wang1-2/+56
This patch will toggle the EIC level to emulate the edge trigger to support PMIC EIC egdge trigger function, which is required by gpio-keys driver. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-03-27gpio: Add Spreadtrum PMIC EIC driver supportBaolin Wang1-0/+330
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>