Commit 619cb0c2 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: pm8921-bms: use accurate LSB voltage for calibration channels



The driver uses 97.7mV as the value of a single bit for calibration
channels. It should however use 97.656mV for these channels.

These fixes a few mV error seen in OCV(open circuit voltage) readings.

Also, remove the sanity checks that forces voltage to be in a certain
range. Forcing voltage on calibration channels could cause errors in
battery voltage reporting.

Change-Id: I21cc665a1b11597692968d4c96ba7f838402c74f
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 286e9e0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment