]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: use DT label for DSI outputs
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 15 Aug 2025 15:46:04 +0000 (18:46 +0300)
committerBjorn Andersson <andersson@kernel.org>
Sun, 24 Aug 2025 01:48:33 +0000 (20:48 -0500)
Instead of keeping a copy of the DT tree going down to the DSI output
endpoint use the label to reference it directly, making DTs less
error-prone.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250815-msm-dsi-outs-v2-1-3662704e833f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
arch/arm64/boot/dts/qcom/sc7180-idp.dts
arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi
arch/arm64/boot/dts/qcom/sdm845-db845c.dts
arch/arm64/boot/dts/qcom/sdm845-mtp.dts
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
arch/arm64/boot/dts/qcom/sm8150-hdk.dts
arch/arm64/boot/dts/qcom/sm8350-hdk.dts
arch/arm64/boot/dts/qcom/sm8650-hdk-display-card.dtso

index 33ecbc81997c5ecb5606c7555adefd1a53634b80..d99448a0732d9d165be1b5a1b1e15b2424b98b55 100644 (file)
        qcom,dual-dsi-mode;
        qcom,master-dsi;
 #endif
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&lt9611_a>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&lt9611_a>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi0_phy {
index 0146fb0036d44893237520aae5449931f17f1cc2..19cf419cf531f353f17b83b89ec57dac697d5134 100644 (file)
                        };
                };
        };
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&panel0_in>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&panel0_in>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi0_phy {
index ff8996b4de4e1e66a0f2aac0180233640602caf3..4bea97e4246e160bbd4497551a15a9abe50167e3 100644 (file)
                        };
                };
        };
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&panel_in>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&panel_in>;
+       data-lanes = <0 1 2 3>;
 };
 
 &sdhc_2 {
index 17908c93652011d69a2d04b980f45f6732f16977..6078308694ac2085b7958704335dd81dc7109e27 100644 (file)
                        };
                };
        };
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&panel_in>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&panel_in>;
+       data-lanes = <0 1 2 3>;
 };
 
 &pm6150_adc {
index 3ec2c7864f1ebb596f1ac2644de58d2f7a2b6faa..8abf3e909502f3c3b82c0ca3d7509fdaf23d882c 100644 (file)
 
        qcom,dual-dsi-mode;
        qcom,master-dsi;
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&lt9611_a>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&lt9611_a>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi0_phy {
                                 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&lt9611_b>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi1_out {
+       remote-endpoint = <&lt9611_b>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi1_phy {
index a98756e8b965fe7aa475271f72c0b73b20fbceaa..63d2993536ade229a84da16e811e8bc83c46bd15 100644 (file)
        qcom,dual-dsi-mode;
        qcom,master-dsi;
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&truly_in_0>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
-
        panel@0 {
                compatible = "truly,nt35597-2K-display";
                reg = <0>;
        };
 };
 
+&mdss_dsi0_out {
+       remote-endpoint = <&truly_in_0>;
+       data-lanes = <0 1 2 3>;
+};
+
 &mdss_dsi0_phy {
        status = "okay";
        vdds-supply = <&vdda_mipi_dsi0_pll>;
        /* DSI1 is slave, so use DSI0 clocks */
        assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
                                 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&truly_in_1>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi1_out {
+       remote-endpoint = <&truly_in_1>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi1_phy {
index 480192c86fb7c6981011923ef619b83b7460c78f..90efbb7e3799b9aa75ac4df84fe0006d470ae131 100644 (file)
 &mdss_dsi0 {
        status = "okay";
        vdda-supply = <&vreg_l26a_1p2>;
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&sn65dsi86_in_a>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&sn65dsi86_in_a>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi0_phy {
index e1e294f0f462ac824bffe96615b36ddcd8996d80..0339a572f34d01633ebf09e473d6fdff9005682d 100644 (file)
 
        qcom,dual-dsi-mode;
        qcom,master-dsi;
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&lt9611_a>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&lt9611_a>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi0_phy {
                                 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
 
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&lt9611_b>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi1_out {
+       remote-endpoint = <&lt9611_b>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi1_phy {
index f9de0e49fa249af52cb3cbdfdabb394815ce82d3..24a8c91e9f70f40247fde6eb63aa5ce58e258139 100644 (file)
 &mdss_dsi0 {
        vdda-supply = <&vreg_l6b_1p2>;
        status = "okay";
+};
 
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&lt9611_a>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&lt9611_a>;
+       data-lanes = <0 1 2 3>;
 };
 
 &mdss_dsi0_phy  {
index cb102535838def8c9a354675545d4f4c988ccd0d..5a594d7311a71f6c5a106683c1b7376f8978cc8b 100644 (file)
                        };
                };
        };
+};
 
-       ports {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               port@1 {
-                       reg = <1>;
-
-                       mdss_dsi0_out: endpoint {
-                               remote-endpoint = <&panel0_in>;
-                       };
-               };
-       };
+&mdss_dsi0_out {
+       remote-endpoint = <&panel0_in>;
 };
 
 &spi4 {