arm64: dts: imx8mq: Fix lcdif compatible
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 6 Jun 2023 15:09:17 +0000 (17:09 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 9 Jun 2023 14:27:49 +0000 (22:27 +0800)
"fsl,imx8mq-lcdif" is compatible to "fsl,imx6sx-lcdif", adjust the list
accordingly. Fixes the dtbs_check warning:
imx8mq-tqma8mq-mba8mx.dtb: lcd-controller@30320000: compatible: 'oneOf'
conditional failed, one must be fixed:
 ['fsl,imx8mq-lcdif', 'fsl,imx28-lcdif'] is too long
 'fsl,imx8mq-lcdif' is not one of ['fsl,imx23-lcdif', 'fsl,imx28-lcdif',
 'fsl,imx6sx-lcdif', 'fsl,imx8mp-lcdif', 'fsl,imx93-lcdif']
 'fsl,imx6sx-lcdif' was expected

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index 0492556a10dbc4151c1c02e03c93c385d7c28df1..ad5aa4155d23f87e80dfa77d3b18b9016041eee1 100644 (file)
                        };
 
                        lcdif: lcd-controller@30320000 {
-                               compatible = "fsl,imx8mq-lcdif", "fsl,imx28-lcdif";
+                               compatible = "fsl,imx8mq-lcdif", "fsl,imx6sx-lcdif";
                                reg = <0x30320000 0x10000>;
                                interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX8MQ_CLK_LCDIF_PIXEL>;