blob: 70676c88f22ddd6c07bcadf366579a8c021cd50d [file] [log] [blame]
Yong Lif7e94d72018-08-03 16:00:15 +08001description: >
2 Implement to set/get ACPI power status
3
4properties:
5 - name: SysACPIStatus
6 type: enum[self.ACPI]
Patrick Williamsf3e6ff12022-10-24 07:35:26 -05007 default: Unknown
Yong Lif7e94d72018-08-03 16:00:15 +08008 description: >
9 The ACPI system power status.
10
11 - name: DevACPIStatus
12 type: enum[self.ACPI]
Patrick Williamsf3e6ff12022-10-24 07:35:26 -050013 default: Unknown
Yong Lif7e94d72018-08-03 16:00:15 +080014 description: >
15 The ACPI device power status.
16
17enumerations:
18 - name: ACPI
19 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050020 Possible ACPI status.
Yong Lif7e94d72018-08-03 16:00:15 +080021 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050022 - name: S0_G0_D0
23 description: >
24 Working, the system is running
25 - name: S1_D1
26 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060027 Hardware context maintained, typically equates to proc/chip set
28 clocks stopped.
Patrick Williams8da396c2022-03-14 14:21:02 -050029 - name: S2_D2
30 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060031 Typically equates to stopped clocks with proc/cache context
32 lost.
Patrick Williams8da396c2022-03-14 14:21:02 -050033 - name: S3_D3
34 description: >
35 Typically equates to "suspend-to-RAM".
36 - name: S4
37 description: >
38 Typically equates to "suspend-to-disk".
39 - name: S5_G2
40 description: >
41 Soft off.
42 - name: S4_S5
43 description: >
44 Sent when message source cannot differentiate between S4 and S5.
45 - name: G3
46 description: >
47 Mechanical off.
48 - name: SLEEP
49 description: >
50 Sleeping - cannot differentiate between S1-S3.
51 - name: G1_SLEEP
52 description: >
53 Sleeping - cannot differentiate between S1-S4.
54 - name: OVERRIDE
55 description: >
56 S5 entered by override.
57 - name: LEGACY_ON
58 description: >
59 Legacy On - used when ACPI mode is disabled.
60 - name: LEGACY_OFF
61 description: >
62 Legacy Off - used when ACPI mode is disabled.
63 - name: Unknown
64 description: >
65 System power state has not been initialized.