]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sc8280xp: add empty mdss*_dp*_out endpoints
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Thu, 24 Jul 2025 12:23:40 +0000 (15:23 +0300)
committerBjorn Andersson <andersson@kernel.org>
Tue, 12 Aug 2025 03:19:26 +0000 (22:19 -0500)
Follow the example of other DP controllers and also eDP controller on
SC7280 and move all mdss[01]_dp[0123]_out endpoints declaration to the
SoC DTSI. This slightly reduces the boilerplate in the platform DT files
and also reduces the difference between DP and eDP controllers.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250724-move-edp-endpoints-v1-2-6ca569812838@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sa8295p-adp.dts
arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts
arch/arm64/boot/dts/qcom/sc8280xp.dtsi

index 2fd1dafe63ce7a4f409d19946b9f10ffe324fba3..d5015ec4b23d00b5a51c81c99ea46f7c57c3fd13 100644 (file)
@@ -35,7 +35,7 @@
 
                port {
                        dp2_connector_in: endpoint {
-                               remote-endpoint = <&mdss1_dp0_phy_out>;
+                               remote-endpoint = <&mdss1_dp0_out>;
                        };
                };
        };
@@ -49,7 +49,7 @@
 
                port {
                        dp3_connector_in: endpoint {
-                               remote-endpoint = <&mdss1_dp1_phy_out>;
+                               remote-endpoint = <&mdss1_dp1_out>;
                        };
                };
        };
@@ -63,7 +63,7 @@
 
                port {
                        edp0_connector_in: endpoint {
-                               remote-endpoint = <&mdss0_dp2_phy_out>;
+                               remote-endpoint = <&mdss0_dp2_out>;
                        };
                };
        };
@@ -77,7 +77,7 @@
 
                port {
                        edp1_connector_in: endpoint {
-                               remote-endpoint = <&mdss0_dp3_phy_out>;
+                               remote-endpoint = <&mdss0_dp3_out>;
                        };
                };
        };
@@ -91,7 +91,7 @@
 
                port {
                        edp2_connector_in: endpoint {
-                               remote-endpoint = <&mdss1_dp2_phy_out>;
+                               remote-endpoint = <&mdss1_dp2_out>;
                        };
                };
        };
 
                port {
                        edp3_connector_in: endpoint {
-                               remote-endpoint = <&mdss1_dp3_phy_out>;
+                               remote-endpoint = <&mdss1_dp3_out>;
                        };
                };
        };
        data-lanes = <0 1 2 3>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss0_dp2_phy_out: endpoint {
-                               remote-endpoint = <&edp0_connector_in>;
-                       };
-               };
-       };
+&mdss0_dp2_out {
+       remote-endpoint = <&edp0_connector_in>;
 };
 
 &mdss0_dp2_phy {
        data-lanes = <0 1 2 3>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss0_dp3_phy_out: endpoint {
-                               remote-endpoint = <&edp1_connector_in>;
-                       };
-               };
-       };
+&mdss0_dp3_out {
+       remote-endpoint = <&edp1_connector_in>;
 };
 
 &mdss0_dp3_phy {
        data-lanes = <0 1 2 3>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss1_dp0_phy_out: endpoint {
-                               remote-endpoint = <&dp2_connector_in>;
-                       };
-               };
-       };
+&mdss1_dp0_out {
+       remote-endpoint = <&dp2_connector_in>;
 };
 
 &mdss1_dp0_phy {
        data-lanes = <0 1 2 3>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss1_dp1_phy_out: endpoint {
-                               remote-endpoint = <&dp3_connector_in>;
-                       };
-               };
-       };
+&mdss1_dp1_out {
+       remote-endpoint = <&dp3_connector_in>;
 };
 
 &mdss1_dp1_phy {
        data-lanes = <0 1 2 3>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss1_dp2_phy_out: endpoint {
-                               remote-endpoint = <&edp2_connector_in>;
-                       };
-               };
-       };
+&mdss1_dp2_out {
+       remote-endpoint = <&edp2_connector_in>;
 };
 
 &mdss1_dp2_phy {
        data-lanes = <0 1 2 3>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss1_dp3_phy_out: endpoint {
-                               remote-endpoint = <&edp3_connector_in>;
-                       };
-               };
-       };
+&mdss1_dp3_out {
+       remote-endpoint = <&edp3_connector_in>;
 };
 
 &mdss1_dp3_phy {
index 8e2c02497c05c10a3a5a43a6002467736a3b7f95..bcbd668f562fdfd3558e7138e98ba21987603162 100644 (file)
                        };
                };
        };
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss0_dp3_out: endpoint {
-                               remote-endpoint = <&edp_panel_in>;
-                       };
-               };
-       };
+&mdss0_dp3_out {
+       remote-endpoint = <&edp_panel_in>;
 };
 
 &mdss0_dp3_phy {
index cefecb7a23cf579b1f62ef6fccf9a27a6ea92ac4..0b479e98ba387de8e9d5b2bbaf43e2ed083fb94f 100644 (file)
                        };
                };
        };
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss0_dp3_out: endpoint {
-                               remote-endpoint = <&edp_panel_in>;
-                       };
-               };
-       };
+&mdss0_dp3_out {
+       remote-endpoint = <&edp_panel_in>;
 };
 
 &mdss0_dp3_phy {
index 812251324002b50f3b48845b6c244f692d42b9b2..29efbef5ef69263e9a59a43e27d158ae8e793ab8 100644 (file)
@@ -63,7 +63,7 @@
 
                port {
                        dp1_connector_in: endpoint {
-                               remote-endpoint = <&mdss0_dp2_phy_out>;
+                               remote-endpoint = <&mdss0_dp2_out>;
                        };
                };
        };
        data-lanes = <0 1 2 3>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       reg = <1>;
-                       mdss0_dp2_phy_out: endpoint {
-                               remote-endpoint = <&dp1_connector_in>;
-                       };
-               };
-       };
+&mdss0_dp2_out {
+       remote-endpoint = <&dp1_connector_in>;
 };
 
 &mdss0_dp2_phy {
index 87555a119d947dca75415675807f7965b2f203ac..421693208af0d5baeaa14ba2bbf29cbbc677e732 100644 (file)
 
                                        port@1 {
                                                reg = <1>;
+
+                                               mdss0_dp2_out: endpoint {
+                                               };
                                        };
                                };
 
 
                                        port@1 {
                                                reg = <1>;
+
+                                               mdss0_dp3_out: endpoint {
+                                               };
                                        };
                                };
 
 
                                        port@1 {
                                                reg = <1>;
+
+                                               mdss1_dp0_out: endpoint {
+                                               };
                                        };
                                };
 
 
                                        port@1 {
                                                reg = <1>;
+
+                                               mdss1_dp1_out: endpoint {
+                                               };
                                        };
                                };
 
 
                                        port@1 {
                                                reg = <1>;
+
+                                               mdss1_dp2_out: endpoint {
+                                               };
                                        };
                                };
 
 
                                        port@1 {
                                                reg = <1>;
+
+                                               mdss1_dp3_out: endpoint {
+                                               };
                                        };
                                };