From d23abc6841a0c7458427c56b18e276b746bdec96 Mon Sep 17 00:00:00 2001 From: weiweij Date: Tue, 12 Apr 2022 10:41:45 +0800 Subject: [PATCH] charger: add mux control for WLS in otg mode In OTG mode, the output of VOUT from WLS should be disabled. So we use gpio 49 to control WLS through mux. Change-Id: I4d9bc5d8a74f8da93f9069ed061e22af29208485 Reviewed-on: https://gerrit.mot.com/2239282 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, 2 insertions(+) diff --git a/qcom/discrete_charging_miami.dtsi b/qcom/discrete_charging_miami.dtsi index d8a80cc72d9a..a6c861d794ec 100644 --- a/qcom/discrete_charging_miami.dtsi +++ b/qcom/discrete_charging_miami.dtsi @@ -48,6 +48,7 @@ interrupts = <12 0>; //irq num base on hardware design sgm,irq-gpio = <&tlmm 12 0>; //irq num base on hardware design sgm,chg-en-gpio = <&tlmm 92 0>; //gpio num base on hardware design 1.MTK parent node name is pio 2.QUALCOMM parent node name is tlmm or other + mmi,wls-en-gpio = <&tlmm 49 0>; dpdm-supply = <&usb2_phy0>; mmi,qc3-support; @@ -93,6 +94,7 @@ bq2589x_irq-gpio = <&tlmm 12 0>; bq2589x_en-gpio = <&tlmm 92 0>; + mmi,wls-en-gpio = <&tlmm 49 0>; dpdm-supply = <&usb2_phy0>; mmi,qc3-support;