[PATCH v2 0/2] media: rc: meson-ir: wake the system from the remote
From: christian . koever-draxl
Date: Fri Nov 06 2026 - 05:28:40 EST
From: Christian Stefan Kövér-Draxl <ckoever@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxx
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