docs: pm: Add missing device states
Adding documentation about two new device states, SUSPENDING and RESUMING. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
62e2952a5a
commit
ffcba96b1a
1 changed files with 10 additions and 0 deletions
|
@ -225,6 +225,16 @@ The four device power states:
|
||||||
Most device context is lost by the hardware. Device drivers must save and
|
Most device context is lost by the hardware. Device drivers must save and
|
||||||
restore or reinitialize any context lost by the hardware.
|
restore or reinitialize any context lost by the hardware.
|
||||||
|
|
||||||
|
:code:`PM_DEVICE_STATE_SUSPENDING`
|
||||||
|
|
||||||
|
Device is currently transitioning from :c:macro:`PM_DEVICE_STATE_ACTIVE` to
|
||||||
|
:c:macro:`PM_DEVICE_STATE_SUSPEND`.
|
||||||
|
|
||||||
|
:code:`PM_DEVICE_STATE_RESUMING`
|
||||||
|
|
||||||
|
Device is currently transitioning from :c:macro:`PM_DEVICE_STATE_SUSPEND` to
|
||||||
|
:c:macro:`PM_DEVICE_STATE_ACTIVE`.
|
||||||
|
|
||||||
:code:`PM_DEVICE_STATE_OFF`
|
:code:`PM_DEVICE_STATE_OFF`
|
||||||
|
|
||||||
Power has been fully removed from the device. The device context is lost
|
Power has been fully removed from the device. The device context is lost
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue