OSDN Git Service

gpio: eic: Add edge trigger emulation for EIC
authorBaolin Wang <baolin.wang@linaro.org>
Fri, 30 Mar 2018 07:02:37 +0000 (15:02 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 May 2018 12:35:24 +0000 (14:35 +0200)
commit7bf0d7f62282fa315949106275ff5ed295aefac2
tree86061fadbf1a31ee46651d12a9993b58f00127c8
parentdf42a02d45106ca55a90b27dadb2c44f4f9cef88
gpio: eic: Add edge trigger emulation for EIC

The Spreadtrum debounce EIC and latch EIC can not support edge trigger,
but most GPIO users (like gpio-key driver) only use the edge trigger,
thus the EIC driver need add some support to emulate the edge trigger
to satisfy this requirement.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-eic-sprd.c