summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml17
-rw-r--r--meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory/config.yaml20
2 files changed, 37 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
index d0e4f57d50..45fa20a9b4 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
@@ -11,6 +11,23 @@ boot_count_sensor:
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
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory/config.yaml b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory/config.yaml
index cc463c421a..f9e6ba6934 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory/config.yaml
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory/config.yaml
@@ -78,6 +78,26 @@
Offsets:
0xFF:
type: uint32_t
+0x0b:
+ entityID: 0x22
+ entityInstance: 3
+ sensorType: 0xCA
+ path: /xyz/openbmc_project/control/power_supply_redundancy
+ sensorReadingType: 0x03
+ 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
0x12:
entityID: 0xD0
entityInstance: 1