diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-08-20 23:22:32 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-07 00:02:29 +0300 |
commit | 9055051cdd409d5b59399a7f9a6d6555c958e0c2 (patch) | |
tree | ad8c379d7d127e50323b7c2954ab66fde3167dde /meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml | |
parent | 3d1d189fb50cb2c2c0a8020eb0aaf7bf67341d12 (diff) | |
download | openbmc-9055051cdd409d5b59399a7f9a6d6555c958e0c2.tar.xz |
ipmi-sensor: Add power supply derating factor
Add the power supply derating factor sensor to the ipmi yaml file.
This sensor was currently hardcoded in the /org/openbmc/sensors
path but that is being deprecated in favor of having the sensors
defined in the ipmi yaml config files.
Tested:
With this change the get sensor command was successful.
(From meta-phosphor rev: 8605fa1ad9512fdc2bea2a3f5ad3be9b2828f9ee)
Change-Id: Ie221521e91b47639cb9d24eb23ab2b8bf774d110
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml')
-rw-r--r-- | meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml | 11 |
1 files changed, 11 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 45fa20a9b4..ec82afed68 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 @@ -343,3 +343,14 @@ memory_temp_sensor: Offsets: 0xFF: type: int64_t +ps_derating_sensor: + serviceInterface: org.freedesktop.DBus.Properties + readingType: assertion + mutability: Mutability::Read + sensorNamePattern: nameProperty + interfaces: + xyz.openbmc_project.Control.PowerSupplyAttributes: + DeratingFactor: + Offsets: + 0xFF: + type: uint32_t |