From e5c63455a563966424c6f659776f894e5ca91c62 Mon Sep 17 00:00:00 2001 From: Alison Venancio Date: Tue, 25 Jul 2023 14:38:25 -0400 Subject: [PATCH] rhode - 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/2687408/ Change-Id: I031f5ad77e84bb7d19049d2e6ef2b3da50320e5d Reviewed-on: https://gerrit.mot.com/2689152 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Rafael Ortolan Reviewed-by: Gilberto Gambugge Neto Submit-Approved: Gilberto Gambugge Neto Tested-by: Gilberto Gambugge Neto --- qcom/discrete_charging.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/discrete_charging.dtsi b/qcom/discrete_charging.dtsi index 62eb8cd447d6..79ea798db198 100644 --- a/qcom/discrete_charging.dtsi +++ b/qcom/discrete_charging.dtsi @@ -76,7 +76,7 @@ reg = <0x64>; status = "okay"; - ibat-invert-polority = ; + ibat-invert-polority = "true"; sense_r_mohm = <5>; factory_mode_ntc_exist = <0>; df-serialnum = "SB18D38323";