PEL: Add OCC errors

Include a new component for BMC OCC control, and add descriptions of
three new errors.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: Ic252a7801597acddd82f2c94e14b8a699005acbb
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index eb8bdc3..4e70e06 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -634,6 +634,89 @@
         },
 
         {
+            "Name": "org.open_power.OCC.Firmware.PresenceMismatch",
+            "Subsystem": "bmc_firmware",
+            "ComponentID": "0x3200",
+            "Severity": "predictive",
+
+            "SRC":
+            {
+                "ReasonCode": "0x3201",
+                "Words6To9":
+                {
+                }
+            },
+
+            "Callouts": [
+                {
+                    "CalloutList": [
+                        { "Priority": "medium", "Procedure": "bmc_code" }
+                    ]
+                }
+            ],
+
+            "Documentation":
+            {
+                "Description": "OCC presence mismatch",
+                "Message": "BMC firmware detected incorrect number of OCCs",
+                "Notes": [
+                    "The number of OCCs detected by the BMC does not match the number of OCCs detected by the OCC.",
+                    "The BMC requests that the OCC reset."
+                ]
+            }
+        },
+
+        {
+            "Name": "org.open_power.OCC.Device.SafeState",
+            "Subsystem": "processor_chip",
+            "ComponentID": "0x3200",
+            "Severity": "non_error",
+
+            "SRC":
+            {
+                "ReasonCode": "0x3202",
+                "Words6To9":
+                {
+                }
+            },
+
+            "Documentation":
+            {
+                "Description": "OCC safe state",
+                "Message": "OCC in safe state while active for one minute",
+                "Notes": [
+                    "The BMC detected that the OCC was in safe state for one minute while active.",
+                    "The BMC requests that the OCC reset."
+                ]
+            }
+        },
+
+        {
+            "Name": "org.open_power.OCC.Device.ReadFailure",
+            "Subsystem": "cec_chip_iface",
+            "ComponentID": "0x3200",
+            "Severity": "predictive",
+
+            "SRC":
+            {
+                "ReasonCode": "0x3203",
+                "Words6To9":
+                {
+                }
+            },
+
+            "Documentation":
+            {
+                "Description": "OCC communication failure",
+                "Message": "BMC failed to communicate with the OCC",
+                "Notes": [
+                    "The BMC failed to communicate with the OCC and retried three times.",
+                    "The BMC requests that the OCC reset."
+                ]
+            }
+        },
+
+        {
             "Name": "org.open_power.HardwareIsolation.Error",
             "Subsystem": "cec_hardware",
             "ComponentID": "0x3100",