summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Control/Power/ACPIPowerState.interface.yaml
blob: c8a3349af083ac162cf86bb23bf00a8d9afb1dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
description: >
    Implement to set/get ACPI power status

properties:
    - name: SysACPIStatus
      type: enum[self.ACPI]
      description: >
          The ACPI system power status.

    - name: DevACPIStatus
      type: enum[self.ACPI]
      description: >
          The ACPI device power status.

enumerations:
    - name: ACPI
      description: >
        Possible ACPI status.
      values:
        - name: S0_G0_D0
          description: >
            Working, the system is running
        - name: S1_D1
          description: >
            Hardware context maintained, typically equates to proc/chip
            set clocks stopped.
        - name: S2_D2
          description: >
            Typically equates to stopped clocks with proc/cache context lost.
        - name: S3_D3
          description: >
            Typically equates to "suspend-to-RAM".
        - name: S4
          description: >
            Typically equates to "suspend-to-disk".
        - name: S5_G2
          description: >
            Soft off.
        - name: S4_S5
          description: >
            Sent when message source cannot differentiate between S4 and S5.
        - name: G3
          description: >
            Mechanical off.
        - name: SLEEP
          description: >
            Sleeping - cannot differentiate between S1-S3.
        - name: G1_SLEEP
          description: >
            Sleeping - cannot differentiate between S1-S4.
        - name: OVERRIDE
          description: >
            S5 entered by override.
        - name: LEGACY_ON
          description: >
            Legacy On - used when ACPI mode is disabled.
        - name: LEGACY_OFF
          description: >
            Legacy Off - used when ACPI mode is disabled.
        - name: Unknown
          description: >
            System power state has not been initialized.
OpenPOWER on IntegriCloud