From be6482db0a9f1fcce0597c3727ad8feef532e1da 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 ca4fee3e..8d118e26 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 981db753..d2bebf28 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -2571,6 +2571,13 @@ ucsi: qcom,ucsi { compatible = "qcom,ucsi-glink"; + connector { + port { + usb_port0_connector: endpoint { + remote-endpoint = <&usb_port0>; + }; + }; + }; }; altmode: qcom,altmode {