Skip to content

Commit fdf3da1

Browse files
committed
pm: Add reinit-power-states DT binding property
This property allows defining one or more power-states phandles in which a peripheral loses its configuration, and must be reinitialized. States below and including S2RAM are inherently assumed to require reinit, this property is intended to cover the exceptions outside of this common use case. It is intended to assist drivers in preventing the SoC from entering these power states during critical code sections, as well as indicate to power management services when a peripheral needs reinitialization. Signed-off-by: Kenneth J. Miller <[email protected]>
1 parent aa007b9 commit fdf3da1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dts/bindings/base/pm.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,12 @@ properties:
3030
description: |
3131
Automatically configure the device for runtime power management after the
3232
init function runs.
33+
34+
reinit-power-states:
35+
type: phandles
36+
description: |
37+
Specifies special power states where a peripheral requires
38+
reinitialization due to configuration loss.
39+
40+
While states at or beyond S2RAM are naturally assumed to need
41+
reinitialization, this property highlights the exceptions to that rule.

0 commit comments

Comments
 (0)