mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: rc: meson-ir: wake the system from the remote
@ 2026-11-06 10:19 christian.koever-draxl
  2026-11-06 10:19 ` [PATCH v2 1/2] dt-bindings: media: amlogic,meson6-ir: allow wakeup-source christian.koever-draxl
  2026-11-06 10:19 ` [PATCH v2 2/2] media: rc: meson-ir: allow the receiver to wake the system christian.koever-draxl
  0 siblings, 2 replies; 4+ messages in thread
From: christian.koever-draxl @ 2026-11-06 10:19 UTC (permalink / raw)
  To: mchehab, robh, krzk+dt, conor+dt, neil.armstrong, khilman,
	jbrunet, martin.blumenstingl, sean
  Cc: linux-media, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, Christian Stefan Kövér-Draxl

From: Christian Stefan Kövér-Draxl <ckoever@outlook.de>

The suspend callback switches the decoder off, so a remote can never
wake the system from s2idle. With the wakeup-source property, keep the
decoder running and arm its interrupt as a wake source instead.

Suspend to RAM is not affected on S4: there the firmware watches the IR
receiver itself while the SoC is down and wakes the board on the power
key without this series.

Tested on an S905W2 box in s2idle: with the series the remote's power
key wakes it; with wakeup disabled for the receiver it does not.

Changes in v2:
- Commit message and cover: the series is about s2idle; deep suspend is
  woken by the firmware. The v1 test (suspend to RAM) did not exercise
  the change; replaced by an s2idle test with and without it (Martin).
- No code changes.
- Link to v1: https://lore.kernel.org/r/20261025192320.209446-1-christian.koever-draxl@student.uibk.ac.at

Tool use (Documentation/process/generated-content.rst):
This work was done with the help of an AI coding assistant, Claude
(Anthropic), used through Claude Code over many sessions. It did a large
part of the hands-on work: it read the vendor kernel and the firmware
interfaces, probed registers on the board, drafted the code and the
changelogs, and ran the builds, checkpatch, dt_binding_check and the
tests on the hardware. I directed the work, reviewed every change and
the final patches, and take responsibility for them. There is no single
prompt to quote; the sessions were of the form "find out why X fails on
this board, fix it, test it on the box".

Tested on an Amediatech X98Q TV box (Amlogic S905W2, S4 family, 2 GiB),
vendor U-Boot and BL31/OP-TEE, Linux 7.3 plus this work.

Christian Stefan Kövér-Draxl (2):
  dt-bindings: media: amlogic,meson6-ir: allow wakeup-source
  media: rc: meson-ir: allow the receiver to wake the system

 .../bindings/media/amlogic,meson6-ir.yaml       |  2 ++
 drivers/media/rc/meson-ir.c                     | 17 +++++++++++++++++
 2 files changed, 19 insertions(+)


base-commit: 7be4bc52fd9e0e55dc9a2e0232b89427d2c4b614
-- 
2.56.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

end of thread, other threads:[~2026-11-06 13:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 10:19 [PATCH v2 0/2] media: rc: meson-ir: wake the system from the remote christian.koever-draxl
2026-11-06 10:19 ` [PATCH v2 1/2] dt-bindings: media: amlogic,meson6-ir: allow wakeup-source christian.koever-draxl
2026-11-06 13:08   ` Rob Herring
2026-11-06 10:19 ` [PATCH v2 2/2] media: rc: meson-ir: allow the receiver to wake the system christian.koever-draxl

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

all inboxes | Powered by JetHome®