[PATCH v2 2/2] media: rc: meson-ir: allow the receiver to wake the system

Martin Blumenstingl martin.blumenstingl at googlemail.com
Mon Nov 9 23:12:07 PST 2026


On Fri, Nov 6, 2026 at 11:20 AM
<christian.koever-draxl at student.uibk.ac.at> wrote:
>
> From: Christian Stefan Kövér-Draxl <ckoever at outlook.de>
>
> The suspend callback switches the decoder off, so nothing is left to
> notice the remote and the receiver can never wake the system from
> s2idle, where only Linux interrupts can wake the CPUs.
>
> When the device is a wakeup source, keep the decoder running and arm
> its interrupt as a wake interrupt instead. Boards without the
> wakeup-source property keep the existing behaviour.
>
> This does not affect suspend to RAM on boards whose firmware watches
> the IR receiver itself while the SoC is down, as on S4 where BL31 wakes
> the board on the remote's power key.
>
> Tested on an S905W2 board in s2idle: the power key on the remote wakes
> it; with wakeup disabled for the receiver it does not.
>
> Signed-off-by: Christian Stefan Kövér-Draxl <ckoever at outlook.de>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-arm-kernel mailing list