Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH 0/2] Disable wakeup for resin keys by default
@ 2025-09-09 13:23 Luca Weiss
  2025-09-09 13:23 ` [PATCH 1/2] dt-bindings: input: pm8941-pwrkey: Document wakeup-source property Luca Weiss
  2025-09-09 13:23 ` [PATCH 2/2] Input: pm8941-pwrkey - Disable wakeup for resin by default Luca Weiss
  0 siblings, 2 replies; 11+ messages in thread
From: Luca Weiss @ 2025-09-09 13:23 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Courtney Cavin, Vinod Koul
  Cc: Bhushan Shah, ~postmarketos/upstreaming, phone-devel,
	linux-arm-msm, linux-input, devicetree, linux-kernel, Luca Weiss

'Resin' (*Res*et *In*put) on Qualcomm PMICs is usually connected to
volume down buttons on devices, which are usually not expected to wake
up the device from suspend.

On the other hand, pwrkey should keep wakeup on.

Note, that this does change behavior by turning off wakeup by default
for 'resin' and requiring a new dt property to be added to turn it on
again. But since this is not expected behavior in the first place, and
most users will not expect this, I'd argue this change is acceptable.

Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
---
Luca Weiss (2):
      dt-bindings: input: pm8941-pwrkey: Document wakeup-source property
      Input: pm8941-pwrkey - Disable wakeup for resin by default

 .../bindings/input/qcom,pm8941-pwrkey.yaml          | 21 ++++++++++++++++++---
 drivers/input/misc/pm8941-pwrkey.c                  | 12 ++++++++++--
 2 files changed, 28 insertions(+), 5 deletions(-)
---
base-commit: 76eeb9b8de9880ca38696b2fb56ac45ac0a25c6c
change-id: 20250909-resin-wakeup-ebc77fe75b81

Best regards,
-- 
Luca Weiss <luca@lucaweiss.eu>


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

end of thread, other threads:[~2025-09-29 15:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-09 13:23 [PATCH 0/2] Disable wakeup for resin keys by default Luca Weiss
2025-09-09 13:23 ` [PATCH 1/2] dt-bindings: input: pm8941-pwrkey: Document wakeup-source property Luca Weiss
2025-09-09 14:02   ` Krzysztof Kozlowski
2025-09-09 14:08     ` Dmitry Torokhov
2025-09-09 14:33       ` Krzysztof Kozlowski
2025-09-09 14:41         ` Luca Weiss
2025-09-09 14:54           ` Dmitry Torokhov
2025-09-25  5:45             ` Dmitry Torokhov
2025-09-29 15:44               ` Luca Weiss
2025-09-09 13:23 ` [PATCH 2/2] Input: pm8941-pwrkey - Disable wakeup for resin by default Luca Weiss
2025-09-09 14:55   ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox