From 29f3129cc8bf798163300dfaef725f2c661984ef Mon Sep 17 00:00:00 2001 From: weiweij Date: Thu, 12 May 2022 15:04:24 +0800 Subject: [PATCH] wls-chg: change supplier to "battery" For uevents will be send each power_supply_change() function called. So if we use "bms" node to notify capacity 100%, it will sennd uevents just after "battery" node. And as a result, there will be lots of uevents. It is not suitable. So we change to "battery" node to notify wls-chg. Change-Id: Ibfc9ca5c7de5722d602f295a2d30e21fc596b5ca Reviewed-on: https://gerrit.mot.com/2266836 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/discrete_charging_miami.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/discrete_charging_miami.dtsi b/qcom/discrete_charging_miami.dtsi index 240f5ebc37d7..b27eb539840b 100644 --- a/qcom/discrete_charging_miami.dtsi +++ b/qcom/discrete_charging_miami.dtsi @@ -179,7 +179,7 @@ io-channel-names = "otg_enable"; main-charger-name = "master_chg"; - supplied-from = "bms"; + supplied-from = "battery"; wireless-fw-name = "cps4019.hex"; fw_ver_major = <0>;