arm64: dts: mediatek: mt8183-kukui-jacuzzi: Simplify DSI endpoint replacement
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 25 Jun 2024 09:57:04 +0000 (17:57 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 30 Jul 2024 09:46:37 +0000 (11:46 +0200)
Currently the Jacuzzi dtsi file redeclares the full DSI endpoint tree
from the DSI controller just to replace the remote endpoint. This is
not necessary since the local endpoint already has a label that can be
referenced. This will also confusion when the inherited layout is
changed.

Replace the redeclared DSI endpoint tree with a label reference.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20240625095705.3474713-1-wenst@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi

index fa4ab4d2899f9b7f866414335b703e6843aa25e7..783c333107bcbf7368398feae0a29e5f0ee50c19 100644 (file)
 
 &dsi0 {
        status = "okay";
-       /delete-property/#size-cells;
-       /delete-property/#address-cells;
        /delete-node/panel@0;
-       ports {
-               port {
-                       dsi_out: endpoint {
-                               remote-endpoint = <&anx7625_in>;
-                       };
-               };
-       };
+};
+
+&dsi_out {
+       remote-endpoint = <&anx7625_in>;
 };
 
 &i2c0 {