From 4f171bf25c56d08d7a32423aba57afb8e8bfcefd 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 e566d04b..865e516f 100644 --- a/qcom/kera-usb.dtsi +++ b/qcom/kera-usb.dtsi @@ -88,6 +88,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 d39d3fdf..d32191ff 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -2379,6 +2379,13 @@ ucsi: qcom,ucsi { compatible = "qcom,ucsi-glink"; + connector { + port { + usb_port0_connector: endpoint { + remote-endpoint = <&usb_port0>; + }; + }; + }; }; altmode: qcom,altmode {