[PATCH 5/8] arm64: dts: qcom: Enable EUD on sm8450 hdk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enable EUD on sm8450 hdk and route the role switch endpoints
accordingly.

Signed-off-by: Elson Roy Serrao <quic_eserrao@xxxxxxxxxxx>
---
 arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
index a754b8fe9167..21a63ad81aac 100644
--- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
@@ -111,7 +111,7 @@
 					reg = <0>;
 
 					pmic_glink_hs_in: endpoint {
-						remote-endpoint = <&usb_1_dwc3_hs>;
+						remote-endpoint = <&eud_con>;
 					};
 				};
 
@@ -1102,9 +1102,22 @@
 };
 
 &usb_1_dwc3_hs {
+	remote-endpoint = <&eud_ep>;
+};
+
+&eud {
+	status = "okay";
+	usb-role-switch;
+};
+
+&eud_con {
 	remote-endpoint = <&pmic_glink_hs_in>;
 };
 
+&eud_ep {
+	remote-endpoint = <&usb_1_dwc3_hs>;
+};
+
 &usb_1_hsphy {
 	status = "okay";
 
-- 
2.17.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux