Re: [PATCH v2 6/8] dt-bindings: rtc: Add linux,wakeup-states

From: Igor Velkov

Date: Mon Nov 23 2026 - 13:02:38 EST


On Mon, Nov 23, 2026 at 11:48:11AM +0100, Krzysztof Kozlowski wrote:
> This looks exactly like re-implementing system-idle-states.yaml and wakeup-source.

Right, thanks. v3 will use wakeup-source with phandles to
system-idle-states.

Two questions before I rework it:
- alarmtimer needs a suspend state for each phandle. Is mapping
standby to s2idle and shallow, and the mem* states to deep, acceptable?
- linux,wakeup-states = "none" covered an RTC that wakes the system from
no state, e.g. meson-vrtc, which enables wakeup unconditionally, on a
board whose firmware ignores it. How should a board describe that
with wakeup-source?

--
Igor Velkov