ipmi-sensor: Add power supply redundancy

Add the power supply redundancy sensor to the ipmi yaml file.
This D-Bus object already exists in the Settings app.

Tested: Verifed that the generated phosphor-ipmi-host sensor.yaml
file contained the new sensor. Removed the legacy sensor from the
/org/openbmc path and powered on a Witherspoon to the Host OS
without errors.

Change-Id: I88a609d59a24f7044f5cb2f440d16683eec2feba
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml b/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
index d0e4f57..45fa20a 100644
--- a/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
+++ b/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
@@ -11,6 +11,23 @@
           0xFF:
             type: uint32_t
 
+ps_redundancy_state_sensor:
+  path: /xyz/openbmc_project/control/power_supply_redundancy
+  serviceInterface: org.freedesktop.DBus.Properties
+  readingType: assertion
+  mutability: Mutability::Read
+  sensorNamePattern: nameProperty
+  interfaces:
+    xyz.openbmc_project.Control.PowerSupplyRedundancy:
+      PowerSupplyRedundancyEnabled:
+        Offsets:
+          0x00:
+            type: "bool"
+            assert: false
+          0x01:
+            type: "bool"
+            assert: true
+
 os_boot_sensor:
   path: /xyz/openbmc_project/state/host0
   serviceInterface: org.freedesktop.DBus.Properties