From 1fa47287c87541c63074f1de3617bc11166c6201 Mon Sep 17 00:00:00 2001 From: Uttkarsh Aggarwal Date: Sat, 23 Nov 2024 11:59:18 +0530 Subject: [PATCH] ARM: dts: msm: Add wcd_usbss reference to USB on tuna The USB D+/D- signal lines are first routed through the WCD939x USB subsystem before connecting to the USB controller on MTP and QRD platform for tuna. 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: Ie55271923cc893f72602ecbe156617d651bef66e Signed-off-by: Uttkarsh Aggarwal --- qcom/tuna-mtp.dtsi | 3 +++ qcom/tuna-qrd.dtsi | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/qcom/tuna-mtp.dtsi b/qcom/tuna-mtp.dtsi index 36ab15e3..bf8a682d 100644 --- a/qcom/tuna-mtp.dtsi +++ b/qcom/tuna-mtp.dtsi @@ -108,3 +108,6 @@ status = "ok"; }; +&usb0 { + qcom,wcd_usbss = <&wcd_usbss>; +}; diff --git a/qcom/tuna-qrd.dtsi b/qcom/tuna-qrd.dtsi index cfd38eeb..cdd821f6 100644 --- a/qcom/tuna-qrd.dtsi +++ b/qcom/tuna-qrd.dtsi @@ -121,3 +121,7 @@ &thermal_zones { /delete-node/ sys-therm-11; }; + +&usb0 { + qcom,wcd_usbss = <&wcd_usbss>; +};