PEL: Add regulator phase faults to registry

Add two new voltage regulator errors to the message registry:
* N phase fault: No redundant phases remain
* N+1 phase fault: One redundant phase remains

The N+1 phase fault is normally treated as an informational error since
the voltage regulator still has some redundancy remaining.  However, if
the system is in manufacturing isolation mode, the severity is increased
to be predictive.  This allows manufacturing to easily detect the error
and avoid shipping a voltage regulator that has already lost some
redundancy.

Tested:
* Created N phase fault error using busctl command and the
  xyz.openbmc_project.Logging.Create interface.
* Created N+1 phase fault error using busctl command and the
  xyz.openbmc_project.Logging.Create interface.
  * System in normal mode
  * System in manufacturing isolation mode

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: Ia2820d839122ca079a4bb41a9ca54109cede2690
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index fb79b99..90b603a 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -1493,6 +1493,55 @@
         },
 
         {
+            "Name": "xyz.openbmc_project.Power.Regulators.Error.PhaseFault.N",
+            "Subsystem": "power",
+            "Severity": "predictive_redundancy_loss",
+            "ComponentID": "0x2700",
+
+            "SRC": {
+                "Type": "11",
+                "ReasonCode": "0x2700",
+                "Words6To9": {}
+            },
+
+            "Documentation": {
+                "Description": "Voltage regulator phase fault detected; device now at redundancy level N (no redundant phases)",
+                "Message": "Voltage regulator phase fault detected; device now at redundancy level N (no redundant phases)",
+                "Notes": [
+                    "CALLOUT_INVENTORY_PATH should be specified in the ",
+                    "AdditionalData property of the event log so that ",
+                    "the device is called out but not the communication path."
+                ]
+            }
+        },
+
+        {
+            "Name": "xyz.openbmc_project.Power.Regulators.Error.PhaseFault.NPlus1",
+            "Subsystem": "power",
+            "Severity": "non_error",
+            "MfgSeverity": "predictive_redundancy_loss",
+            "ActionFlags": ["report"],
+            "MfgActionFlags": ["service_action", "report", "call_home"],
+            "ComponentID": "0x2700",
+
+            "SRC": {
+                "Type": "11",
+                "ReasonCode": "0x2701",
+                "Words6To9": {}
+            },
+
+            "Documentation": {
+                "Description": "Voltage regulator phase fault detected; device now at redundancy level N+1 (one redundant phase)",
+                "Message": "Voltage regulator phase fault detected; device now at redundancy level N+1 (one redundant phase)",
+                "Notes": [
+                    "CALLOUT_INVENTORY_PATH should be specified in the ",
+                    "AdditionalData property of the event log so that ",
+                    "the device is called out but not the communication path."
+                ]
+            }
+        },
+
+        {
             "Name": "xyz.openbmc_project.Power.Regulators.Error.WriteVerification",
             "Subsystem": "power",
             "ComponentID": "0x2700",