meta-nicole: phosphor-ipmi-host: Fix sensors
Since the commit 022da0dd the value type of sensors was changed
from `int64_t` with scale to `double`.
This brings the same replacement for `phosphor-ipmi-host`.
(From meta-yadro rev: fe84801b413deef4185337a117098f62fca4dbc6)
Change-Id: I3de00a101a0633658292131c5d255080ab24f64c
End-User-Impact: `ipmitool sensor` will now show actual sensor's values.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
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 2c056f9..20b3a4e 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
@@ -189,14 +189,14 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 5
mutability: Mutability::Write|Mutability::Read
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/dimm0_temp
rExp: -1
readingType: readingData
- scale: -3
+ scale: 0
sensorNamePattern: nameLeaf
sensorReadingType: 1
sensorType: 1
@@ -490,14 +490,14 @@
Value:
Offsets:
255:
- type: int64_t
+ type: double
multiplierM: 5
mutability: Mutability::Write|Mutability::Read
offsetB: 0
path: /xyz/openbmc_project/sensors/temperature/p0_core0_temp
rExp: -1
readingType: readingData
- scale: -3
+ scale: 0
sensorNamePattern: nameLeaf
sensorReadingType: 1
sensorType: 1