]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm: dts: imx53-qsb-hdmi: Disable panel instead of deleting node
authorLiu Ying <victor.liu@nxp.com>
Tue, 14 May 2024 03:07:18 +0000 (11:07 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 15 Jun 2024 08:07:15 +0000 (16:07 +0800)
We cannot use /delete-node/ directive to delete a node in a DT
overlay.  The node won't be deleted effectively.  Instead, set
the node's status property to "disabled" to achieve something
similar.

Fixes: eeb403df953f ("ARM: dts: imx53-qsb: add support for the HDMI expander")
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx53-qsb-common.dtsi
arch/arm/boot/dts/nxp/imx/imx53-qsb-hdmi.dtso

index d804404464737114f9677de8e55854de051ef8ce..05d7a462ea25a7c8225e8daffde2e41b1eb8b1ac 100644 (file)
@@ -85,7 +85,7 @@
                };
        };
 
-       panel {
+       panel_dpi: panel {
                compatible = "sii,43wvf1g";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_display_power>;
index c84e9b0525276a7ce7e4176502139d926f4f3d9d..151e9cee3c87eef9e83529cd42a056c4a56dca96 100644 (file)
@@ -10,8 +10,6 @@
 /plugin/;
 
 &{/} {
-       /delete-node/ panel;
-
        hdmi: connector-hdmi {
                compatible = "hdmi-connector";
                label = "hdmi";
        };
 };
 
+&panel_dpi {
+       status = "disabled";
+};
+
 &tve {
        status = "disabled";
 };