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 <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
weiweij 2022-04-12 10:41:45 +08:00 • committed by panyq6
commit d23abc6841

View file

@ -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;