From 4991cc1e5b53b061ee51589455add20c87ebeb81 Mon Sep 17 00:00:00 2001 From: Ronak Vijay Raheja Date: Tue, 26 Dec 2023 13:22:12 -0800 Subject: [PATCH] ARM: dts: msm: Add wcd_usbss reference to USB on sun The USB D+/D- signal lines are first routed through the WCD939x USB subsystem before connecting to the USB controller on MTP platform for sun. Add a phandle to the former to the USB device node. This will allow the USB driver to control the D+/D- switches when USB 2.0 functionality is needed. Change-Id: Iae9cc1fc46826c1f355e230029d6b5a41eae057f Signed-off-by: Ronak Vijay Raheja --- qcom/sun-mtp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcom/sun-mtp.dtsi b/qcom/sun-mtp.dtsi index df2c37d1..01ebd391 100644 --- a/qcom/sun-mtp.dtsi +++ b/qcom/sun-mtp.dtsi @@ -320,6 +320,8 @@ }; &usb0 { + qcom,wcd_usbss = <&wcd_usbss>; + usb-role-switch; port { usb_port0: endpoint {