linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] PinePhone volume key (LRADC) wakeup support
@ 2021-01-13  4:05 Samuel Holland
  2021-01-13  4:05 ` [PATCH v2 1/3] dt-bindings: sun4i-a10-lradc-keys: Accept wakeup-source property Samuel Holland
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Samuel Holland @ 2021-01-13  4:05 UTC (permalink / raw)
  To: Hans de Goede, Dmitry Torokhov, Rob Herring, Maxime Ripard,
	Chen-Yu Tsai, Jernej Skrabec
  Cc: devicetree, linux-input, linux-kernel, linux-sunxi, Samuel Holland

This series allows the volume keys on the PinePhone to wake up the
device. As pointed out for v1, wakeup should only be enabled when a
"wakeup-source" property is present, so v2 requires DT and binding
changes in addition to the driver change.

Changes since v1:
  - Add requisite DT binding change
  - Only add wakeup capability if "wakeup-source" is present
  - Warn but do not error out if setting the wake IRQ fails
  - Add "wakeup-source" property to PinePhone device tree

Ondrej Jirman (1):
  input: sun4i-lradc-keys -  Add wakup support

Samuel Holland (2):
  dt-bindings: sun4i-a10-lradc-keys: Accept wakeup-source property
  arm64: dts: allwinner: pinephone: Support volume key wakeup

 .../input/allwinner,sun4i-a10-lradc-keys.yaml |  2 ++
 .../dts/allwinner/sun50i-a64-pinephone.dtsi   |  1 +
 drivers/input/keyboard/sun4i-lradc-keys.c     | 22 +++++++++++++++----
 3 files changed, 21 insertions(+), 4 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2021-01-25 19:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13  4:05 [PATCH v2 0/3] PinePhone volume key (LRADC) wakeup support Samuel Holland
2021-01-13  4:05 ` [PATCH v2 1/3] dt-bindings: sun4i-a10-lradc-keys: Accept wakeup-source property Samuel Holland
2021-01-25 19:14   ` Rob Herring
2021-01-13  4:05 ` [PATCH v2 2/3] input: sun4i-lradc-keys - Add wakup support Samuel Holland
2021-01-13  4:05 ` [PATCH v2 3/3] arm64: dts: allwinner: pinephone: Support volume key wakeup Samuel Holland
2021-01-13  8:14 ` [PATCH v2 0/3] PinePhone volume key (LRADC) wakeup support Hans de Goede
2021-01-13  8:28 ` Maxime Ripard

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).