]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm8250: add a link between DWC3 and QMP PHY
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 11 May 2024 22:04:10 +0000 (01:04 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 16:44:30 +0000 (11:44 -0500)
The SuperSpeed signals originate from the DWC3 host controller and then
are routed through the Combo QMP PHY, where they are multiplexed with
the DisplayPort signals. Add corresponding OF graph link.

Reported-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240512-typec-fix-sm8250-v4-4-ad153c747a97@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 4ec9541ce1047c21aed8db891c04b7b3e8bd57d1..f3f9dea0550b740289b436e851f34cfa25ab83c0 100644 (file)
 
                                port@1 {
                                        reg = <1>;
+
+                                       usb_1_qmpphy_usb_ss_in: endpoint {
+                                               remote-endpoint = <&usb_1_dwc3_ss_out>;
+                                       };
                                };
 
                                port@2 {
                                phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>;
                                phy-names = "usb2-phy", "usb3-phy";
 
-                               port {
-                                       usb_1_dwc3_hs_out: endpoint {};
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               reg = <0>;
+
+                                               usb_1_dwc3_hs_out: endpoint {
+                                               };
+                                       };
+
+                                       port@1 {
+                                               reg = <1>;
+
+                                               usb_1_dwc3_ss_out: endpoint {
+                                                       remote-endpoint = <&usb_1_qmpphy_usb_ss_in>;
+                                               };
+                                       };
                                };
                        };
                };