From 859a84375c53707388aa5313d41c2606483cb4fc Mon Sep 17 00:00:00 2001 From: Alison Venancio Date: Tue, 25 Jul 2023 14:36:00 -0400 Subject: [PATCH] penang - Invert the charging logic Modify the charging logic in the device tree to interpret positive current as charging current and negative current as discharging current. Fixing syntax error from https://gerrit.mot.com/#/c/2687501/ Change-Id: Id3041340462afe32fe5157506e05d03301f47609 Reviewed-on: https://gerrit.mot.com/2689146 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Rafael Ortolan Reviewed-by: Gilberto Gambugge Neto Submit-Approved: Gilberto Gambugge Neto Tested-by: Gilberto Gambugge Neto --- qcom/discrete_charging_penang.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/discrete_charging_penang.dtsi b/qcom/discrete_charging_penang.dtsi index 9e4462084c4b..b5bb649d7f42 100644 --- a/qcom/discrete_charging_penang.dtsi +++ b/qcom/discrete_charging_penang.dtsi @@ -39,7 +39,7 @@ reg = <0x64>; status = "okay"; - ibat-invert-polority = ; + ibat-invert-polority = "true"; sense_r_mohm = <5>; factory_mode_ntc_exist = <0>; df-serialnum = "SB18D34202";