From 3a7d7cb243631c9cbfd3bd884f2a362c4dfda655 Mon Sep 17 00:00:00 2001 From: Alexander Filippov Date: Mon, 22 Mar 2021 16:29:37 +0300 Subject: nicole: phosphor-hwmon: Add VBAT thresholds This brings the thresholds for the VBAT sensor. End-User-Impact: The VBAT sensor will now have thresholds. Signed-off-by: Alexander Filippov Change-Id: I7a8fb0194900cb6f39ab09b6c3ad9f1ff65d23ee --- .../sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-yadro/meta-nicole') 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 290a72252..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,4 +1,8 @@ LABEL_in1=vbat +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 -- cgit v1.2.3