[PATCH 0/3] gpio-keys: Add support for specifying wakeup interrupt trigger type
Jeffy Chen
jeffy.chen at rock-chips.com
Fri Feb 9 03:55:07 PST 2018
On chromebook kevin, we are using gpio-keys for pen insert event. But
we only want it to wakeup the system when ejecting the pen.
So we may need to change the interrupt trigger type during suspending.
Jeffy Chen (3):
Input: gpio-keys - add support for wakeup interrupt trigger type
Input: gpio-keys - allow setting wakeup interrupt trigger type in DT
arm64: dts: rockchip: Avoid wakeup when inserting the pen
.../devicetree/bindings/input/gpio-keys.txt | 9 +++++++++
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 2 ++
drivers/input/keyboard/gpio_keys.c | 20 ++++++++++++++++++--
include/linux/gpio_keys.h | 2 ++
4 files changed, 31 insertions(+), 2 deletions(-)
--
2.11.0
More information about the Linux-rockchip
mailing list