From db0b884c5b20f663d076a4c7d2888f01441da1cc Mon Sep 17 00:00:00 2001 From: Alexander Filippov Date: Mon, 22 Mar 2021 16:25:27 +0300 Subject: 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 Change-Id: I6465a2d6386bf6cd271763de678cae1ee086d6ee --- .../nicole-yaml-config/nicole-ipmi-sensors.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'meta-yadro') 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 -- cgit v1.2.3