summaryrefslogtreecommitdiff
path: root/meta-yadro
diff options
context:
space:
mode:
authorAlexander Filippov <a.filippov@yadro.com>2021-03-22 16:25:27 +0300
committerAlexander Filippov <a.filippov@yadro.com>2021-03-23 11:23:37 +0300
commitdb0b884c5b20f663d076a4c7d2888f01441da1cc (patch)
tree68df9ec6dfe0858ab59c24cffc683496961d4508 /meta-yadro
parentc5a21ced0212c170a3c04684f9c296e275b3082b (diff)
downloadopenbmc-db0b884c5b20f663d076a4c7d2888f01441da1cc.tar.xz
nicole: phosphor-ipmi-host: add vbat sensor
This brings the VBAT sensor to the sensor's list shown by the `ipmitool sensor` command. End-User-Impact: The `ipmitool sensor` command will now contain the VBAT sensor. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: I6465a2d6386bf6cd271763de678cae1ee086d6ee
Diffstat (limited to 'meta-yadro')
-rw-r--r--meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml
index 20b3a4ea2..d12d3397b 100644
--- a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml
+++ b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml
@@ -739,3 +739,24 @@
sensorReadingType: 111
sensorType: 31
serviceInterface: org.freedesktop.DBus.Properties
+
+254:
+ sensorType: 2
+ path: /xyz/openbmc_project/sensors/voltage/vbat
+ sensorReadingType: 1
+ # This gives the measurement 1.800..3.585 volts with a step 0.007
+ multiplierM: 7
+ offsetB: 18
+ bExp: 2
+ rExp: -3
+ scale: 0
+ unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
+ mutability: Mutability::Read
+ readingType: readingData
+ serviceInterface: org.freedesktop.DBus.Properties
+ interfaces:
+ xyz.openbmc_project.Sensor.Value:
+ Value:
+ Offsets:
+ 255:
+ type: double