summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/iio-hwmon-battery.conf
blob: 6f7341cd554b67e4c27b0ac5248d805e18b6ba69 (plain)
1
2
3
4
5
6
7
8
9
LABEL_in1=vbat
GAIN_in1=2.368

# GPIOR3 needs to be pulled high for battery voltage reading
GPIOCHIP_in1=0
GPIO_in1=139

# Read it every day so it does not impact battery life
INTERVAL=86400000000