diff options
author | George Hung <george.hung@quantatw.com> | 2021-05-03 08:41:04 +0300 |
---|---|---|
committer | George Hung <george.hung@quantatw.com> | 2021-05-04 02:52:31 +0300 |
commit | 8848e75f90e7d6a43b444554736762b36b4343b8 (patch) | |
tree | b4c06ca25e1f5a027f4ac2e8711d21e39b638bd5 /meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/config-virtual-sensor.json | |
parent | 775cc0a9d27148bff5f25c00fe546483cb1a1f7f (diff) | |
download | openbmc-8848e75f90e7d6a43b444554736762b36b4343b8.tar.xz |
meta-quanta: gbs: Add Max/Min value setting in json config
Add Max/Min value setting in json config, so sel-logger
could show correct sensor value
ref: https://gerrit.openbmc-project.xyz/42073
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ieebb60fec73a83a17babd4a918645dd1a387d8b4
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/config-virtual-sensor.json')
-rw-r--r-- | meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/config-virtual-sensor.json | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/config-virtual-sensor.json b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/config-virtual-sensor.json index 6e729108a7..7be584152f 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/config-virtual-sensor.json +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/config-virtual-sensor.json @@ -2,7 +2,9 @@ { "Desc": { "Name": "i2cool_0", - "SensorType": "temperature" + "SensorType": "temperature", + "MaxValue": 127.0, + "MinValue": -128.0 }, "Threshold": { "CriticalHigh": 35, @@ -40,7 +42,9 @@ { "Desc": { "Name": "i2cool_1", - "SensorType": "temperature" + "SensorType": "temperature", + "MaxValue": 127.0, + "MinValue": -128.0 }, "Threshold": { "CriticalHigh": 70, @@ -78,7 +82,9 @@ { "Desc": { "Name": "i2cool_2", - "SensorType": "temperature" + "SensorType": "temperature", + "MaxValue": 127.0, + "MinValue": -128.0 }, "Threshold": { "CriticalHigh": 70, |