diff options
author | George Hung <george.hung@quantatw.com> | 2020-09-24 15:13:09 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-09-26 00:02:10 +0300 |
commit | 4ac08adb956b9832134317d22a81d27f9bf6f647 (patch) | |
tree | 4e543dcfd87f8e67a5cd14f1c0702408631f919c /meta-quanta | |
parent | c9507273220a7922d5adb0ccb3394d4a70f00cca (diff) | |
download | openbmc-4ac08adb956b9832134317d22a81d27f9bf6f647.tar.xz |
meta-quanta: gbs: adjust max34451/p3v_bat_adc threshold/GAIN
max34451:
adjust pwrgd_pvpp/pwrgd_pvddio/pwrgd_cpuvr GAIN/threshold
to show normal value
p3v_bat_adc:
adjust GAIN to meet the deviation requirement
(From meta-quanta rev: 47decce839819001140663ed8eed71ffb31efa2b)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ia30c6abe2f95490d52d01052289ed86178b7cdce
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta')
3 files changed, 22 insertions, 19 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 023992397..b3e933f21 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 @@ -216,21 +216,21 @@ <<: *voltage entityInstance: 0x07 path: /xyz/openbmc_project/sensors/voltage/pwrgd_pvpp - multiplierM: 157 + multiplierM: 235 rExp: -4 0x38: <<: *voltage entityInstance: 0x08 path: /xyz/openbmc_project/sensors/voltage/pwrgd_pvddio - multiplierM: 157 + multiplierM: 235 rExp: -4 0x39: <<: *voltage entityInstance: 0x09 path: /xyz/openbmc_project/sensors/voltage/pwrgd_cpuvr - multiplierM: 157 + multiplierM: 235 rExp: -4 0x3A: diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf index 5adb40c68..353075ab3 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf @@ -62,31 +62,34 @@ MAXVALUE_in7 = "4" PWRONMON_in7 = "ON" LABEL_in8 = "pwrgd_pvpp" -CRITHI_in8 = "3600" -CRITLO_in8 = "1000" -WARNHI_in8 = "3600" -WARNLO_in8 = "1000" +CRITHI_in8 = "5760" +CRITLO_in8 = "1600" +WARNHI_in8 = "5760" +WARNLO_in8 = "1600" MINVALUE_in8 = "0" -MAXVALUE_in8 = "4" +MAXVALUE_in8 = "6" PWRONMON_in8 = "ON" +GAIN_in8 = "1.60" LABEL_in9 = "pwrgd_pvddio" -CRITHI_in9 = "3600" -CRITLO_in9 = "1000" -WARNHI_in9 = "3600" -WARNLO_in9 = "1000" +CRITHI_in9 = "5760" +CRITLO_in9 = "1600" +WARNHI_in9 = "5760" +WARNLO_in9 = "1600" MINVALUE_in9 = "0" -MAXVALUE_in9 = "4" +MAXVALUE_in9 = "6" PWRONMON_in9 = "ON" +GAIN_in9 = "1.60" LABEL_in10 = "pwrgd_cpuvr" -CRITHI_in10 = "3600" -CRITLO_in10 = "1000" -WARNHI_in10 = "3600" -WARNLO_in10 = "1000" +CRITHI_in10 = "5760" +CRITLO_in10 = "1600" +WARNHI_in10 = "5760" +WARNLO_in10 = "1600" MINVALUE_in10 = "0" -MAXVALUE_in10 = "4" +MAXVALUE_in10 = "6" PWRONMON_in10 = "ON" +GAIN_in10 = "1.60" LABEL_in11 = "p3v3_stby" CRITHI_in11 = "3465" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf index 5b2833a14..4ae5a24eb 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf @@ -9,7 +9,7 @@ MAXVALUE_in1 = "4" # The battery read is controlled by GPIO18 GPIOCHIP_in1=0 GPIO_in1=18 -GAIN_in1 = "3.35" +GAIN_in1 = "3.14" # Sleep 24hrs per poll. Number is in microseconds. INTERVAL=86400000000 |