From 3ec8f954a380ac21740773e28e76a97ce66c6e62 Mon Sep 17 00:00:00 2001 From: Uttkarsh Aggarwal Date: Fri, 20 Dec 2024 14:15:50 +0530 Subject: [PATCH] ARM: dts: msm: Enable UCSI nodes for kera 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: Ic3a848f882072a766b3efb872f943dd3f4220ba1 Signed-off-by: Uttkarsh Aggarwal --- qcom/kera-usb.dtsi | 6 ++++++ qcom/kera.dtsi | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/qcom/kera-usb.dtsi b/qcom/kera-usb.dtsi index 114c7381..3bf8b556 100644 --- a/qcom/kera-usb.dtsi +++ b/qcom/kera-usb.dtsi @@ -91,6 +91,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/kera.dtsi b/qcom/kera.dtsi index 38fc677f..18912460 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -2428,6 +2428,13 @@ ucsi: qcom,ucsi { compatible = "qcom,ucsi-glink"; + connector { + port { + usb_port0_connector: endpoint { + remote-endpoint = <&usb_port0>; + }; + }; + }; }; altmode: qcom,altmode {