pm: device: add compatibility for force suspend and low power
Add support for FORCE_SUSPEND and LOW_POWER actions. Even though these actions have no clear meaning, they are added for compatibility until their associated states are discussed. Their usage in new code should be discouraged until the associated states are clarified. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
2ccf41a6d9
commit
9e8e88aee4
2 changed files with 16 additions and 2 deletions
|
@ -78,6 +78,10 @@ enum pm_device_action {
|
|||
PM_DEVICE_ACTION_RESUME,
|
||||
/** Turn off. */
|
||||
PM_DEVICE_ACTION_TURN_OFF,
|
||||
/** Force suspend. */
|
||||
PM_DEVICE_ACTION_FORCE_SUSPEND,
|
||||
/** Low power. */
|
||||
PM_DEVICE_ACTION_LOW_POWER,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue