mbox series

[resend,v3,0/2] sunxi LRADC/volume key wakeup support

Message ID 20210805051241.47168-1-samuel@sholland.org (mailing list archive)
Headers show
Series sunxi LRADC/volume key wakeup support | expand

Message

Samuel Holland Aug. 5, 2021, 5:12 a.m. UTC
This series allows the volume keys on the PinePhone (and other devices
with LRADC buttons) to wake up the device from sleep.

Currently `make dtbs_check` complains because the DT update was merged
without the binding.

Changes since v2:
  - Dropped unnecessary pr_err in platform_get_irq() error path
  - Dropped patch 3 (DT update) as it was merged
  - Added Acked-by/Reviewed-by tags

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 (1):
  dt-bindings: sun4i-a10-lradc-keys: Accept wakeup-source property

 .../input/allwinner,sun4i-a10-lradc-keys.yaml |  2 ++
 drivers/input/keyboard/sun4i-lradc-keys.c     | 20 +++++++++++++++----
 2 files changed, 18 insertions(+), 4 deletions(-)