summaryrefslogtreecommitdiff
path: root/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf')
-rw-r--r--meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf b/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf
index a6065805c..cca2f395a 100644
--- a/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf
+++ b/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf
@@ -1,5 +1,9 @@
LABEL_in1=vbat
-GAIN_in1=0.00225
+CRITLO_in1 = "2000"
+WARNLO_in1 = "2500"
+WARNHI_in1 = "3400"
+CRITHI_in1 = "3500"
+GAIN_in1=2.25
# GPIOP2 needs to be pulled high for battery voltage reading
GPIOCHIP_in1=0