power: supply: sc27xx: Calibrate the resistance of coulomb counter
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 9 Dec 2019 03:56:25 +0000 (11:56 +0800)
committerSebastian Reichel <sre@kernel.org>
Thu, 19 Dec 2019 00:37:54 +0000 (01:37 +0100)
commit058d42563a5692a4e663df0dc270f4ffd2c70274
tree839b11a013df3a1e3ff9664d4a49285c3f3b3c58
parent7772d22e4b0681b5d0ff1bf4127c1b35e7641d07
power: supply: sc27xx: Calibrate the resistance of coulomb counter

There are some deviations between the real resistance and the ideal
resistance of coulomb counter, which will affect the accuracy of
the coulomb counter, thus calibrate the real resistance of coulomb
counter to improve the accuracy.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sc27xx_fuel_gauge.c