Add power sequencer errors
Add the errors that can be created by the UCD90160 device.
Change-Id: Ic12c8cbdaf01602583226c93feeb6b22cdbed283
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/xyz/openbmc_project/Power/Fault.errors.yaml b/xyz/openbmc_project/Power/Fault.errors.yaml
index e428494..5cfddf6 100644
--- a/xyz/openbmc_project/Power/Fault.errors.yaml
+++ b/xyz/openbmc_project/Power/Fault.errors.yaml
@@ -1,4 +1,14 @@
- name: Shutdown
description: A power off was issued because a power fault was detected
+
- name: PowerOnFailure
description: System power failed to turn on
+
+- name: PowerSequencerVoltageFault
+ description: The power sequencer chip detected a voltage fault
+
+- name: PowerSequencerPGOODFault
+ description: The power sequencer chip detected a PGOOD fault
+
+- name: PowerSequencerFault
+ description: The power sequencer chip detected a fault
diff --git a/xyz/openbmc_project/Power/Fault.metadata.yaml b/xyz/openbmc_project/Power/Fault.metadata.yaml
index ff416df..f0436d6 100644
--- a/xyz/openbmc_project/Power/Fault.metadata.yaml
+++ b/xyz/openbmc_project/Power/Fault.metadata.yaml
@@ -1,4 +1,31 @@
- name: Shutdown
level: ERR
+
- name: PowerOnFailure
level: ERR
+
+- name: PowerSequencerVoltageFault
+ level: ERR
+ meta:
+ - str: "RAIL=%d"
+ type: uint16
+ - str: "RAIL_NAME=%s"
+ type: string
+ - str: "RAW_STATUS=%s"
+ type: string
+
+- name: PowerSequencerPGOODFault
+ level: ERR
+ meta:
+ - str: "INPUT_NUM=%d"
+ type: uint16
+ - str: "INPUT_NAME=%s"
+ type: string
+ - str: "RAW_STATUS=%s"
+ type: string
+
+- name: PowerSequencerFault
+ level: ERR
+ meta:
+ - str: "RAW_STATUS=%s"
+ type: string