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

Igor Velkov iav at iav.lv
Mon Nov 23 10:01:12 PST 2026


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



More information about the linux-arm-kernel mailing list