OSDN Git Service

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)
commit65dbad713d5d6a8581921804ae3f5eb4a9bf032e
tree8a778c096220060adb1aa901dba626c0cbe235f4
parent9a056a879111f88149dad428e7cc4f85c87a62bc
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