devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] gpio-keys: Add support for specifying wakeup interrupt trigger type
@ 2018-02-09 11:55 Jeffy Chen
  2018-02-09 11:55 ` [PATCH 2/3] Input: gpio-keys - allow setting wakeup interrupt trigger type in DT Jeffy Chen
  2018-02-09 11:55 ` [PATCH 3/3] arm64: dts: rockchip: Avoid wakeup when inserting the pen Jeffy Chen
  0 siblings, 2 replies; 7+ messages in thread
From: Jeffy Chen @ 2018-02-09 11:55 UTC (permalink / raw)
  To: linux-kernel
  Cc: briannorris, dtor, dianders, Jeffy Chen, Guenter Roeck,
	Arnd Bergmann, Joseph Lo, Rob Herring, Catalin Marinas,
	Emil Renner Berthing, Heiko Stuebner, Brian Norris,
	Thomas Gleixner, Philippe Ombredanne, linux-rockchip,
	Kate Stewart, linux-input, Will Deacon, Matthias Kaehlcke,
	devicetree, stephen lu, Greg Kroah-Hartman


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-21  5:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09 11:55 [PATCH 0/3] gpio-keys: Add support for specifying wakeup interrupt trigger type Jeffy Chen
2018-02-09 11:55 ` [PATCH 2/3] Input: gpio-keys - allow setting wakeup interrupt trigger type in DT Jeffy Chen
2018-02-09 23:42   ` Brian Norris
     [not found]     ` <20180209234246.GA252335-1WoqFLEneaORBCj4nEdE8WJtCfot02Oa@public.gmane.org>
2018-02-10  0:06       ` JeffyChen
2018-02-18 23:34     ` Rob Herring
2018-02-21  5:38       ` Brian Norris
2018-02-09 11:55 ` [PATCH 3/3] arm64: dts: rockchip: Avoid wakeup when inserting the pen Jeffy Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).