LF-1611: arch:arm64: dts: imx8mq-evk: Fix warnings in display nodes
authorRobert Chiras <robert.chiras@nxp.com>
Wed, 24 Jun 2020 11:25:38 +0000 (14:25 +0300)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:22:45 +0000 (11:22 +0800)
Some of the display use-case related dts files are generating warnings
due to the incorrect usage of the 'reg' property. This patch fixes these
warnings.
Also, add the reg property to the mipi_dsi_in endpoint in dcss-adv7535.dts
(currently missing), so that the nwl-dsi driver will select the
appropriate input (DCSS).

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
arch/arm64/boot/dts/freescale/imx8mq-evk-dcss-adv7535.dts
arch/arm64/boot/dts/freescale/imx8mq-evk-dcss-rm67191.dts
arch/arm64/boot/dts/freescale/imx8mq-evk-lcdif-adv7535.dts
arch/arm64/boot/dts/freescale/imx8mq-evk-lcdif-rm67191.dts

index d98d6dc..741f855 100644 (file)
                #size-cells = <0>;
 
                port@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        reg = <0>;
-                       mipi_dsi_in: endpoint {
+                       mipi_dsi_in: endpoint@1 {
+                               reg = <1>;
                                remote-endpoint = <&dcss_out>;
                        };
                };
index 1865e05..dbd28d6 100644 (file)
@@ -71,6 +71,8 @@
                #size-cells = <0>;
 
                port@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        reg = <0>;
                        mipi_dsi_in: endpoint@1 {
                                reg = <1>;
index be0c758..90dc478 100644 (file)
                #size-cells = <0>;
 
                port@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        reg = <0>;
-                       mipi_dsi_in: endpoint {
+                       mipi_dsi_in: endpoint@0 {
+                               reg = <0>;
                                remote-endpoint = <&lcdif_out>;
                        };
                };
index 68e0126..e900d15 100644 (file)
@@ -60,6 +60,8 @@
                #size-cells = <0>;
 
                port@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        reg = <0>;
                        mipi_dsi_in: endpoint@0 {
                                reg = <0>;