Yong Li | f7e94d7 | 2018-08-03 16:00:15 +0800 | [diff] [blame] | 1 | description: > |
| 2 | Implement to set/get ACPI power status |
| 3 | |
| 4 | properties: |
| 5 | - name: SysACPIStatus |
| 6 | type: enum[self.ACPI] |
Patrick Williams | f3e6ff1 | 2022-10-24 07:35:26 -0500 | [diff] [blame] | 7 | default: Unknown |
Yong Li | f7e94d7 | 2018-08-03 16:00:15 +0800 | [diff] [blame] | 8 | description: > |
| 9 | The ACPI system power status. |
| 10 | |
| 11 | - name: DevACPIStatus |
| 12 | type: enum[self.ACPI] |
Patrick Williams | f3e6ff1 | 2022-10-24 07:35:26 -0500 | [diff] [blame] | 13 | default: Unknown |
Yong Li | f7e94d7 | 2018-08-03 16:00:15 +0800 | [diff] [blame] | 14 | description: > |
| 15 | The ACPI device power status. |
| 16 | |
| 17 | enumerations: |
| 18 | - name: ACPI |
| 19 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 20 | Possible ACPI status. |
Yong Li | f7e94d7 | 2018-08-03 16:00:15 +0800 | [diff] [blame] | 21 | values: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 22 | - name: S0_G0_D0 |
| 23 | description: > |
| 24 | Working, the system is running |
| 25 | - name: S1_D1 |
| 26 | description: > |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 27 | Hardware context maintained, typically equates to proc/chip set |
| 28 | clocks stopped. |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 29 | - name: S2_D2 |
| 30 | description: > |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 31 | Typically equates to stopped clocks with proc/cache context |
| 32 | lost. |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 33 | - 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. |