diff options
author | George Hung <george.hung@quantatw.com> | 2020-07-31 13:45:32 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-08-04 03:51:55 +0300 |
commit | 1e04fb62abb23c794d84c646bee3a75e9327d515 (patch) | |
tree | 5aa6b1d954b21db67031cc1315e9329d738707f9 /meta-quanta/meta-gbs/recipes-phosphor/configuration | |
parent | 56f86d23c1a64092dcdb686640e6987bc5491a8d (diff) | |
download | openbmc-1e04fb62abb23c794d84c646bee3a75e9327d515.tar.xz |
meta-quanta: gbs: fix sensor value type and hwmon patch issues
Since the sensor value type had been changed to double, we have to
modify the sensor value type to double and remove the scale in sensor
YAML config and also update the patch for hwmon fix for this changing
Change sensor type to double:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739
hwmon fixes for the sensor type changing:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34481
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34983
(From meta-quanta rev: a661c1683e19abf70429fd263dde8f63f1b188b0)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ifdfe45c1119e0cc5d0e0fb180a91aada87631405
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/configuration')
-rw-r--r-- | meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml index 6747280fd..63d4e6c6a 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml +++ b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml @@ -8,7 +8,6 @@ offsetB: 0 bExp: 0 rExp: 0 - scale: -3 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC mutability: Mutability::Write|Mutability::Read serviceInterface: org.freedesktop.DBus.Properties @@ -19,7 +18,7 @@ Value: Offsets: 0xFF: - type: int64_t + type: double 0x11: <<: *temperature @@ -59,7 +58,7 @@ Value: Offsets: 0xFF: - type: int64_t + type: double 0x16: <<: *nvme_temperature @@ -159,7 +158,6 @@ offsetB: 0 bExp: 0 rExp: -4 - scale: -3 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts mutability: Mutability::Read serviceInterface: org.freedesktop.DBus.Properties @@ -170,7 +168,7 @@ Value: Offsets: 0xFF: - type: int64_t + type: double 0x31: <<: *voltage @@ -273,7 +271,6 @@ offsetB: 0 bExp: 0 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts - scale: -3 rExp: -3 mutability: Mutability::Read serviceInterface: org.freedesktop.DBus.Properties @@ -283,7 +280,7 @@ Value: Offsets: 0xFF: - type: int64_t + type: double 0x3D: <<: *voltage @@ -300,7 +297,6 @@ sensorReadingType: 0x01 multiplierM: 78 rExp: -3 - scale: -3 unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes mutability: Mutability::Read serviceInterface: org.freedesktop.DBus.Properties @@ -311,7 +307,7 @@ Value: Offsets: 0xFF: - type: int64_t + type: double 0x51: <<: *current @@ -500,7 +496,6 @@ offsetB: 0 bExp: 0 rExp: -1 - scale: -6 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts mutability: Mutability::Write|Mutability::Read serviceInterface: org.freedesktop.DBus.Properties @@ -511,7 +506,7 @@ Value: Offsets: 0xFF: - type: int64_t + type: double # fan/pwm mapping # fan0/1 on Mobo, fb_fan0/1/2 on fan board @@ -530,7 +525,6 @@ offsetB: 0 bExp: 0 rExp: 0 - scale: 0 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS mutability: Mutability::Write|Mutability::Read serviceInterface: org.freedesktop.DBus.Properties @@ -541,7 +535,7 @@ Value: Offsets: 0xFF: - type: int64_t + type: double 0x61: <<: *fan_rpm_read @@ -580,7 +574,7 @@ Target: Offsets: 0xFF: - type: uint64_t + type: double 0x66: <<: *fan_pwm |