yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/Control/Power/ACPIPowerState.interface.yaml b/yaml/xyz/openbmc_project/Control/Power/ACPIPowerState.interface.yaml
index c8a3349..2f8dd84 100644
--- a/yaml/xyz/openbmc_project/Control/Power/ACPIPowerState.interface.yaml
+++ b/yaml/xyz/openbmc_project/Control/Power/ACPIPowerState.interface.yaml
@@ -15,48 +15,48 @@
enumerations:
- name: ACPI
description: >
- Possible ACPI status.
+ 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.
+ - 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.
diff --git a/yaml/xyz/openbmc_project/Control/Power/Cap.interface.yaml b/yaml/xyz/openbmc_project/Control/Power/Cap.interface.yaml
index 0f679ac..090b7d0 100644
--- a/yaml/xyz/openbmc_project/Control/Power/Cap.interface.yaml
+++ b/yaml/xyz/openbmc_project/Control/Power/Cap.interface.yaml
@@ -40,4 +40,3 @@
the MinPowerCapValue. When the PowerCap is set to any value between
MinSoftPowerCapValue and MinPowerCapValue an attempt will be made to
maintain the cap but it will not be guaranted.
-
diff --git a/yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml b/yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml
index 0077d65..f3e835e 100644
--- a/yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml
+++ b/yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml
@@ -12,23 +12,23 @@
enumerations:
- name: PowerMode
description: >
- Possible Power Mode settings
+ Possible Power Mode settings
values:
- - name: Static
- description: >
- This value shall indicate the system performs at a static base
- speed.
- - name: PowerSaving
- description: >
- This value shall indicate the system performs at reduced speeds
- to save power. This mode should be used when power saving is the
- top priority.
- - name: MaximumPerformance
- decription: >
- This value shall indicate the system performs at the highest
- speeds possible. This mode should be used when performance is
- the top priority.
- - name: OEM
- description: >
- This value shall indicate the system performs at an OEM-defined
- power mode.
+ - name: Static
+ description: >
+ This value shall indicate the system performs at a static base
+ speed.
+ - name: PowerSaving
+ description: >
+ This value shall indicate the system performs at reduced speeds
+ to save power. This mode should be used when power saving is the
+ top priority.
+ - name: MaximumPerformance
+ decription: >
+ This value shall indicate the system performs at the highest
+ speeds possible. This mode should be used when performance is
+ the top priority.
+ - name: OEM
+ description: >
+ This value shall indicate the system performs at an OEM-defined
+ power mode.
diff --git a/yaml/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml b/yaml/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml
index 71b970a..34f4217 100644
--- a/yaml/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml
+++ b/yaml/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml
@@ -6,7 +6,7 @@
properties:
- name: PowerRestorePolicy
type: enum[self.Policy]
- default: 'Restore'
+ default: "Restore"
description: >
The policy to adopt after the BMC reset.
- name: PowerRestoreDelay
@@ -20,18 +20,18 @@
enumerations:
- name: Policy
description: >
- Possible power restoration policies.
+ Possible power restoration policies.
values:
- - name: None
- description: >
- Perform no power restore logic.
- - name: AlwaysOn
- description: >
- Perform a complete power on process.
- - name: AlwaysOff
- description: >
- Perform a complete power off process.
- - name: Restore
- description: >
- Restore power to last requested state recorded before the BMC was
- reset.
+ - name: None
+ description: >
+ Perform no power restore logic.
+ - name: AlwaysOn
+ description: >
+ Perform a complete power on process.
+ - name: AlwaysOff
+ description: >
+ Perform a complete power off process.
+ - name: Restore
+ description: >
+ Restore power to last requested state recorded before the BMC was
+ reset.