Skip to content

Commit ffcba96

Browse files
Flavio Ceolinnashif
authored andcommitted
docs: pm: Add missing device states
Adding documentation about two new device states, SUSPENDING and RESUMING. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 62e2952 commit ffcba96

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/reference/power_management/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,16 @@ The four device power states:
225225
Most device context is lost by the hardware. Device drivers must save and
226226
restore or reinitialize any context lost by the hardware.
227227

228+
:code:`PM_DEVICE_STATE_SUSPENDING`
229+
230+
Device is currently transitioning from :c:macro:`PM_DEVICE_STATE_ACTIVE` to
231+
:c:macro:`PM_DEVICE_STATE_SUSPEND`.
232+
233+
:code:`PM_DEVICE_STATE_RESUMING`
234+
235+
Device is currently transitioning from :c:macro:`PM_DEVICE_STATE_SUSPEND` to
236+
:c:macro:`PM_DEVICE_STATE_ACTIVE`.
237+
228238
:code:`PM_DEVICE_STATE_OFF`
229239

230240
Power has been fully removed from the device. The device context is lost

0 commit comments

Comments
 (0)