commit | 8b9a6e68150bb92990314743ba7b95166cf9d409 | [log] [tgz] |
---|---|---|
author | Alexander Filippov <a.filippov@yadro.com> | Wed Sep 23 19:03:46 2020 +0300 |
committer | Alexander Filippov <a.filippov@yadro.com> | Wed Sep 30 14:29:03 2020 +0300 |
tree | 13e4136cab49943b234aa0c50b36daca82de9b15 | |
parent | fe84801b413deef4185337a117098f62fca4dbc6 [diff] |
meta-nicole: phosphor-hwmon: Fix VBAT gain VBAT is measured in millivolts but should be shown in volts. This commit fixes the gain parameter. Change-Id: I3ed1dba2da63fa9838612ebfe74ce191f96c50fe End-User-Impact: VBAT will now show in Volts. Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
diff --git a/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf b/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf index 290a722..a606580 100644 --- a/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf +++ b/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf
@@ -1,5 +1,5 @@ LABEL_in1=vbat -GAIN_in1=2.25 +GAIN_in1=0.00225 # GPIOP2 needs to be pulled high for battery voltage reading GPIOCHIP_in1=0