diff options
Diffstat (limited to 'meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%')
-rw-r--r-- | meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/iio-hwmon-battery.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/iio-hwmon-battery.conf b/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/iio-hwmon-battery.conf new file mode 100644 index 000000000..c72b3b510 --- /dev/null +++ b/meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/iio-hwmon-battery.conf @@ -0,0 +1,8 @@ +LABEL_in1=vbat +GAIN_in1=2.25 + +# GPIOR3 needs to be pulled high for battery voltage reading +GPIO_in1=139 + +# Read it every day so it does not impact battery life +INTERVAL=86400000000 |