]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx6sx: remove fallback compatible string fsl,imx28-lcdif
authorFrank Li <Frank.Li@nxp.com>
Wed, 11 Mar 2026 19:41:11 +0000 (15:41 -0400)
committerFrank Li <Frank.Li@nxp.com>
Mon, 6 Apr 2026 01:35:40 +0000 (21:35 -0400)
The i.MX6SX LCDIF is not fully compatible with the i.MX28 LCDIF. The
i.MX6SX controller provides additional overlay registers (AS_CTRL) which
are not present on i.MX28.

Linux has supported the dedicated compatible string since commit
45d59d704080 ("drm: Add new driver for MXSFB controller").

Other known DT users such as U-Boot and Barebox already support
"fsl,imx6sx-lcdif", so removing the fallback compatible string is low risk
since this device is used for display output only.

Fix the following CHECK_DTB warning:
/arch/arm/boot/dts/nxp/imx/imx6sx-nitrogen6sx.dtb: lcdif@2220000 (fsl,imx6sx-lcdif): compatible: 'oneOf' conditional failed, one must be fixed:
        ['fsl,imx6sx-lcdif', 'fsl,imx28-lcdif'] is too long

Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm/boot/dts/nxp/imx/imx6sx.dtsi

index 1426f357d47448ab0ed289a5233f71c1e365033e..aefae5a3a6bebd43c67070376196db559d0d20cb 100644 (file)
                                };
 
                                lcdif1: lcdif@2220000 {
-                                       compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
+                                       compatible = "fsl,imx6sx-lcdif";
                                        reg = <0x02220000 0x4000>;
                                        interrupts = <GIC_SPI 5 IRQ_TYPE_EDGE_RISING>;
                                        clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
                                };
 
                                lcdif2: lcdif@2224000 {
-                                       compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
+                                       compatible = "fsl,imx6sx-lcdif";
                                        reg = <0x02224000 0x4000>;
                                        interrupts = <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>;
                                        clocks = <&clks IMX6SX_CLK_LCDIF2_PIX>,