devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] This patches set cros_ec_keyb as a wakeup source, so the chromeos's powerd
@ 2017-03-30  9:50 Jeffy Chen
  2017-03-30  9:50 ` [PATCH 2/2] ARM: dts: cros-ec-keyboard: Enable as wakeup source Jeffy Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffy Chen @ 2017-03-30  9:50 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: briannorris-F7+t8E8rja9g9hUCZPvPmw,
	dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w,
	dbasehore-hpIqsD4AKlfQT0dZR+AlfA, dianders-F7+t8E8rja9g9hUCZPvPmw,
	Jeffy Chen, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Gwendal Grignou, Vic Yang, Enric Balletbo Serra,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Lee Jones, Rob Herring,
	Mark Rutland, linux-input-u79uwXL29TY76Z2rM5mHXA, Russell King

can control the keyboard's wakeup ability along with other ec event sources.


Jeffy Chen (2):
  input: cros_ec_keyb: Report wakeup events
  ARM: dts: cros-ec-keyboard: Enable as wakeup source

 arch/arm/boot/dts/cros-ec-keyboard.dtsi | 1 +
 drivers/input/keyboard/cros_ec_keyb.c   | 9 +++++++++
 2 files changed, 10 insertions(+)

-- 
2.1.4


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 2/2] ARM: dts: cros-ec-keyboard: Enable as wakeup source
  2017-03-30  9:50 [PATCH 0/2] This patches set cros_ec_keyb as a wakeup source, so the chromeos's powerd Jeffy Chen
@ 2017-03-30  9:50 ` Jeffy Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffy Chen @ 2017-03-30  9:50 UTC (permalink / raw)
  To: linux-kernel
  Cc: briannorris, dmitry.torokhov, dbasehore, dianders, Jeffy Chen,
	devicetree, Rob Herring, Mark Rutland, Russell King,
	linux-arm-kernel

Enable cros-ec-keyboard as a wakeup source.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---

 arch/arm/boot/dts/cros-ec-keyboard.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/cros-ec-keyboard.dtsi b/arch/arm/boot/dts/cros-ec-keyboard.dtsi
index c0451051..3168a5e 100644
--- a/arch/arm/boot/dts/cros-ec-keyboard.dtsi
+++ b/arch/arm/boot/dts/cros-ec-keyboard.dtsi
@@ -16,6 +16,7 @@
 		keypad,num-rows = <8>;
 		keypad,num-columns = <13>;
 		google,needs-ghost-filter;
+		wakeup-source;
 
 		linux,keymap = <
 			MATRIX_KEY(0x00, 0x01, KEY_LEFTMETA)
-- 
2.1.4

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

end of thread, other threads:[~2017-03-30  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-30  9:50 [PATCH 0/2] This patches set cros_ec_keyb as a wakeup source, so the chromeos's powerd Jeffy Chen
2017-03-30  9:50 ` [PATCH 2/2] ARM: dts: cros-ec-keyboard: Enable as wakeup source 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).