arm64: dts: qcom: msm8916: Configure DSI port with labels
authorStephan Gerhold <stephan@gerhold.net>
Tue, 15 Sep 2020 07:12:08 +0000 (09:12 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Sep 2020 15:31:08 +0000 (15:31 +0000)
&dsi0 -> ports -> port@1 -> endpoint already has the "dsi0_out" label,
so we can use it for configuring instead of replicating the entire
node hierarchy. Looks like I missed that when converting the boards.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200915071221.72895-2-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts

index d9af1a3785d8b64b7687e43e936d2e41d27ac444..3c7f975393904f951413d16df56d430eb64ec4db 100644 (file)
        };
 };
 
-&dsi0 {
-       ports {
-               port@1 {
-                       endpoint {
-                               remote-endpoint = <&adv7533_in>;
-                               data-lanes = <0 1 2 3>;
-                       };
-               };
-       };
+&dsi0_out {
+       data-lanes = <0 1 2 3>;
+       remote-endpoint = <&adv7533_in>;
 };
 
 &lpass {
index 410c7d199f9634af1d39cfc4f769bfe420f10a1d..086f07ead5cbdef57f798712c8fda359330a326e 100644 (file)
                        };
                };
        };
+};
 
-       ports {
-               port@1 {
-                       dsi0_out: endpoint {
-                               remote-endpoint = <&panel_in>;
-                               data-lanes = <0 1>;
-                       };
-               };
-       };
+&dsi0_out {
+       data-lanes = <0 1>;
+       remote-endpoint = <&panel_in>;
 };
 
 &msmgpio {