blob: 2f8dd8458bff2687ed15334ab35eeeebf1954541 [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]
7 description: >
8 The ACPI system power status.
9
10 - name: DevACPIStatus
11 type: enum[self.ACPI]
12 description: >
13 The ACPI device power status.
14
15enumerations:
16 - name: ACPI
17 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050018 Possible ACPI status.
Yong Lif7e94d72018-08-03 16:00:15 +080019 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050020 - name: S0_G0_D0
21 description: >
22 Working, the system is running
23 - name: S1_D1
24 description: >
25 Hardware context maintained, typically equates to proc/chip
26 set clocks stopped.
27 - name: S2_D2
28 description: >
29 Typically equates to stopped clocks with proc/cache context lost.
30 - name: S3_D3
31 description: >
32 Typically equates to "suspend-to-RAM".
33 - name: S4
34 description: >
35 Typically equates to "suspend-to-disk".
36 - name: S5_G2
37 description: >
38 Soft off.
39 - name: S4_S5
40 description: >
41 Sent when message source cannot differentiate between S4 and S5.
42 - name: G3
43 description: >
44 Mechanical off.
45 - name: SLEEP
46 description: >
47 Sleeping - cannot differentiate between S1-S3.
48 - name: G1_SLEEP
49 description: >
50 Sleeping - cannot differentiate between S1-S4.
51 - name: OVERRIDE
52 description: >
53 S5 entered by override.
54 - name: LEGACY_ON
55 description: >
56 Legacy On - used when ACPI mode is disabled.
57 - name: LEGACY_OFF
58 description: >
59 Legacy Off - used when ACPI mode is disabled.
60 - name: Unknown
61 description: >
62 System power state has not been initialized.