OSDN Git Service

power: qpnp-fg-gen3: add support to configure batt_therm coefficients
authorcyizhao <cyizhao@codeaurora.org>
Tue, 24 Jan 2017 09:08:55 +0000 (17:08 +0800)
committercyizhao <cyizhao@codeaurora.org>
Tue, 14 Feb 2017 02:13:14 +0000 (10:13 +0800)
commitb8b4a1bfa6c9e9b4ffd1bf0726b40f8518820a5c
tree0f1ff1302c32e3de4ab055f6a68ca70ffe78fb62
parent6825d0dd4fe87a66915b92c3512413114704836d
power: qpnp-fg-gen3: add support to configure batt_therm coefficients

Add support to configure battery thermal coefficients so that different
battery thermistors can be supported. These coefficients can be
configured via "qcom,battery-thermal-coefficients" device tree property.

CRs-Fixed: 2004461
Change-Id: Iff25acd397a68c31057dff4db1896d46e396adc6
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
Documentation/devicetree/bindings/power/supply/qcom/qpnp-fg-gen3.txt
drivers/power/supply/qcom/fg-core.h
drivers/power/supply/qcom/qpnp-fg-gen3.c