]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: ab8500_fg: Use VBAT-to-Ri if possible
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 25 Feb 2022 23:27:59 +0000 (00:27 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 28 Feb 2022 10:34:32 +0000 (11:34 +0100)
commiteca106dc32e1d856a11575655427dbc2f125a336
tree8aa54a4f85a638d419d19a2130e2d20520487037
parente583029c1b091ec7812c97d49809c0ee7751ae05
power: supply: ab8500_fg: Use VBAT-to-Ri if possible

Augment the AB8500 fuel gauge to use the VBAT-to-Ri method of
estimating the internal resistance if possible. Else fall back
to using the temperature-to-Ri or just the default Ri.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_fg.c