]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: core: Add battery internal resistance temperature table support
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 9 Dec 2019 03:56:22 +0000 (11:56 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 19 Dec 2019 00:36:32 +0000 (01:36 +0100)
commit256c789f67161c27ebc3e891ce262005e33afea6
tree8a778c096220060adb1aa901dba626c0cbe235f4
parent0f7093add35ff968a8081a431ab83476c2585fe3
power: supply: core: Add battery internal resistance temperature table support

Since the battery internal resistance can be changed with the temperature
changes, thus add a resistance temperature table support to look up
the accurate battery internal resistance in a certain temperature.

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/power_supply_core.c
include/linux/power_supply.h