From cbd22d5942d57b0ff767eacc42fa779843f055fd Mon Sep 17 00:00:00 2001 From: Uttkarsh Aggarwal Date: Wed, 20 Nov 2024 16:56:26 +0530 Subject: [PATCH] ARM: dts: msm: Enable UCSI nodes for Tuna USB To support cable detection events from UCSI, updates need to be made to enable usb role switch and setting up a connection to the UCSI PMIC glink node. Change-Id: I2e3b6b1c3e36c4dca612df1e79156d669955070d Signed-off-by: Uttkarsh Aggarwal --- qcom/tuna-usb.dtsi | 6 ++++++ qcom/tuna.dtsi | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/qcom/tuna-usb.dtsi b/qcom/tuna-usb.dtsi index e9733a1a..e260f53d 100644 --- a/qcom/tuna-usb.dtsi +++ b/qcom/tuna-usb.dtsi @@ -90,6 +90,12 @@ maximum-speed = "super-speed-plus"; usb-role-switch; }; + + port { + usb_port0: endpoint { + remote-endpoint = <&usb_port0_connector>; + }; + }; }; dwc3_mem_region: dwc3_mem_region { diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 47ce3606..7d27f19e 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -2608,6 +2608,13 @@ ucsi: qcom,ucsi { compatible = "qcom,ucsi-glink"; + connector { + port { + usb_port0_connector: endpoint { + remote-endpoint = <&usb_port0>; + }; + }; + }; }; altmode: qcom,altmode {