summaryrefslogtreecommitdiff
path: root/include/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/power.h')
-rw-r--r--include/power.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/power.h b/include/power.h
index 769a60fd53..e12f97cdb2 100644
--- a/include/power.h
+++ b/include/power.h
@@ -20,6 +20,7 @@ FORWARD_DECLARE_ENUM(power_state) {
* which means totally unpowered...)
*/
POWER_S5, /* System is soft-off */
+ POWER_S4, /* System is suspended to disk */
POWER_S3, /* Suspend; RAM on, processor is asleep */
POWER_S0, /* System is on */
#ifdef CONFIG_POWER_S0IX
@@ -27,11 +28,15 @@ FORWARD_DECLARE_ENUM(power_state) {
#endif
/* Transitions */
POWER_G3S5, /* G3 -> S5 (at system init time) */
- POWER_S5S3, /* S5 -> S3 */
+ POWER_S5S3, /* S5 -> S3 (skips S4 on non-Intel systems) */
POWER_S3S0, /* S3 -> S0 */
POWER_S0S3, /* S0 -> S3 */
- POWER_S3S5, /* S3 -> S5 */
+ POWER_S3S5, /* S3 -> S5 (skips S4 on non-Intel systems) */
POWER_S5G3, /* S5 -> G3 */
+ POWER_S3S4, /* S3 -> S4 */
+ POWER_S4S3, /* S4 -> S3 */
+ POWER_S4S5, /* S4 -> S5 */
+ POWER_S5S4, /* S5 -> S4 */
#ifdef CONFIG_POWER_S0IX
POWER_S0ixS0, /* S0ix -> S0 */
POWER_S0S0ix, /* S0 -> S0ix */