From c74e83d44ccfb21bc40aafcb717900413015c3ff Mon Sep 17 00:00:00 2001 From: Nicholas Troast Date: Fri, 4 Nov 2016 13:44:56 -0700 Subject: [PATCH] ARM: dts: msm: update TADC ibatt scale for MSMCOBALT Currently when the battery is charging (sinking current) the ibatt is positive. Change the scale polarity so that ibatt is negative when the battery is charging. Change-Id: I431dcc766df94adb7ee85d4cb32d9181a74d871a Signed-off-by: Nicholas Troast --- arch/arm/boot/dts/qcom/msmcobalt-mtp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/msmcobalt-mtp.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-mtp.dtsi index 75de2d70028a..0cd6d0ab1f1d 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt-mtp.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt-mtp.dtsi @@ -269,7 +269,7 @@ batt_i@3 { reg = <3>; qcom,channel = <3>; - qcom,scale = <20000000>; + qcom,scale = <(-20000000)>; }; batt_v@4 {