]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sm8150: move USB graph to the SoC dtsi
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 29 Apr 2024 12:43:38 +0000 (15:43 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 00:02:47 +0000 (19:02 -0500)
Move the graph connection between USB host, USB SS PHY and DP port to
the SoC dtsi file. They are linked in hardware in this way.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240429-usb-link-dtsi-v1-1-87c341b55cdf@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8150-hdk.dts
arch/arm64/boot/dts/qcom/sm8150.dtsi

index 6cb6f503fdac95c7b0ff902c7662830b9d27efd8..69ce0baf242326135cfbc168b662fa804100e793 100644 (file)
 
 &mdss_dp_out {
        data-lanes = <0 1>;
-       remote-endpoint = <&usb_1_qmpphy_dp_in>;
 };
 
 &mdss_dsi0 {
        orientation-switch;
 };
 
-&usb_1_qmpphy_dp_in {
-       remote-endpoint = <&mdss_dp_out>;
-};
-
 &usb_1_qmpphy_out {
        remote-endpoint = <&pm8150b_typec_mux_in>;
 };
 
-&usb_1_qmpphy_usb_ss_in {
-       remote-endpoint = <&usb_1_dwc3_ss>;
-};
-
 &usb_2_qmpphy {
        status = "okay";
        vdda-phy-supply = <&vreg_l3c_1p2>;
        remote-endpoint = <&pm8150b_role_switch_in>;
 };
 
-&usb_1_dwc3_ss {
-       remote-endpoint = <&usb_1_qmpphy_usb_ss_in>;
-};
-
 &usb_2_dwc3 {
        dr_mode = "host";
 };
index ff22e434666023492f7528cc716f707ffcd91517..cb878b7305c20f1c36839f2abf9239c851daea9c 100644 (file)
                                        reg = <1>;
 
                                        usb_1_qmpphy_usb_ss_in: endpoint {
+                                               remote-endpoint = <&usb_1_dwc3_ss>;
                                        };
                                };
 
                                        reg = <2>;
 
                                        usb_1_qmpphy_dp_in: endpoint {
+                                               remote-endpoint = <&mdss_dp_out>;
                                        };
                                };
                        };
                                                reg = <1>;
 
                                                usb_1_dwc3_ss: endpoint {
+                                                       remote-endpoint = <&usb_1_qmpphy_usb_ss_in>;
                                                };
                                        };
                                };
                                                reg = <1>;
 
                                                mdss_dp_out: endpoint {
+                                                       remote-endpoint = <&usb_1_qmpphy_dp_in>;
                                                };
                                        };
                                };