summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor
diff options
context:
space:
mode:
authorDhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>2017-09-20 06:58:08 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-09-25 16:13:58 +0000
commit1c6c8e2a06b9d218884bdfb2099ca9a2daf8a4dd (patch)
treefc35a746386b15d7dfd065a830b32f9957444d4a /meta-phosphor/common/recipes-phosphor
parent33f1cca6bf0ae1914c5e5b79fe13345881d9b807 (diff)
downloadtalos-openbmc-1c6c8e2a06b9d218884bdfb2099ca9a2daf8a4dd.tar.gz
talos-openbmc-1c6c8e2a06b9d218884bdfb2099ca9a2daf8a4dd.zip
Add PS derating and redundancy to sensor config
Change-Id: I1c5ff51637cfd749a08a6136c7ad0b3479a24480 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml26
1 files changed, 25 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
index ee474ad3e..2971536be 100644
--- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
+++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
@@ -120,4 +120,28 @@ tpm_required_sensor:
assert: false
0x01:
type: "bool"
- assert: true \ No newline at end of file
+ assert: true
+
+ps_derating_sensor:
+ path: /xyz/openbmc_project/control/host0/powersupply_derating
+ serviceInterface: org.freedesktop.DBus.Properties
+ readingType: readingAssertion
+ interfaces:
+ xyz.openbmc_project.Control.PowerSupply.Derating:
+ PowerSupplyDerating:
+ 0xFF:
+ type: uint32_t
+
+ps_redundancy_state_sensor:
+ path: /xyz/openbmc_project/control/host0/powersupply_redundancy
+ serviceInterface: org.freedesktop.DBus.Properties
+ readingType: assertion
+ interfaces:
+ xyz.openbmc_project.Control.PowerSupply.Redundancy:
+ PowerSupplyRedundancy:
+ 0x00:
+ type: "bool"
+ assert: false
+ 0x01:
+ type: "bool"
+ assert: true
OpenPOWER on IntegriCloud