]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: dts: imx6qdl-aristainetos: Move display node out of 'soc'
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 4 Dec 2017 12:20:11 +0000 (10:20 -0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000 (16:15 +0800)
Move disp0 node from soc node to root node.

disp0 node does not have any register properties and thus
shouldn't be placed on the bus.

This fixes the following build warnings with W=1:

arch/arm/boot/dts/imx6dl-aristainetos_4.dtb: Warning (simple_bus_reg): Node /soc/disp0 missing or empty reg/ranges property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-aristainetos_4.dts
arch/arm/boot/dts/imx6dl-aristainetos_7.dts

index cc418cecabdb3b76ef5be767184950b5d609d64f..3c9f4af9e9ff3daecb79efb0786956286cd2c9bc 100644 (file)
                reg = <0x10000000 0x40000000>;
        };
 
-       soc {
-               display0: disp0 {
-                       compatible = "fsl,imx-parallel-display";
-                       interface-pix-fmt = "rgb24";
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_ipu_disp>;
-                       status = "okay";
+       display0: disp0 {
+               compatible = "fsl,imx-parallel-display";
+               interface-pix-fmt = "rgb24";
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_ipu_disp>;
+               status = "okay";
 
-                       display-timings {
-                               480x800p60 {
-                                       native-mode;
-                                       clock-frequency = <30000000>;
-                                       hactive = <480>;
-                                       vactive = <800>;
-                                       hfront-porch = <59>;
-                                       hback-porch = <10>;
-                                       hsync-len = <10>;
-                                       vback-porch = <15>;
-                                       vfront-porch = <15>;
-                                       vsync-len = <15>;
-                                       hsync-active = <1>;
-                                       vsync-active = <1>;
-                               };
+               display-timings {
+                       480x800p60 {
+                               native-mode;
+                               clock-frequency = <30000000>;
+                               hactive = <480>;
+                               vactive = <800>;
+                               hfront-porch = <59>;
+                               hback-porch = <10>;
+                               hsync-len = <10>;
+                               vback-porch = <15>;
+                               vfront-porch = <15>;
+                               vsync-len = <15>;
+                               hsync-active = <1>;
+                               vsync-active = <1>;
                        };
+               };
 
-                       port {
-                               display0_in: endpoint {
-                                       remote-endpoint = <&ipu1_di0_disp0>;
-                               };
+               port {
+                       display0_in: endpoint {
+                               remote-endpoint = <&ipu1_di0_disp0>;
                        };
                };
        };
index 126ff964edede598c126d62b0561979f5c6a3c06..96cd835ccbf6446ffc4488eb7bf4250eb594ec6e 100644 (file)
                reg = <0x10000000 0x40000000>;
        };
 
-       soc {
-               display0: disp0 {
-                       compatible = "fsl,imx-parallel-display";
-                       interface-pix-fmt = "rgb24";
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_ipu_disp>;
-                       status = "okay";
+       display0: disp0 {
+               compatible = "fsl,imx-parallel-display";
+               interface-pix-fmt = "rgb24";
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_ipu_disp>;
+               status = "okay";
 
-                       display-timings {
-                               800x480p60 {
-                                       native-mode;
-                                       clock-frequency = <33246000>;
-                                       hactive = <800>;
-                                       vactive = <480>;
-                                       hfront-porch = <88>;
-                                       hback-porch = <88>;
-                                       hsync-len = <80>;
-                                       vback-porch = <10>;
-                                       vfront-porch = <10>;
-                                       vsync-len = <25>;
-                                       vsync-active = <1>;
-                               };
+               display-timings {
+                       800x480p60 {
+                               native-mode;
+                               clock-frequency = <33246000>;
+                               hactive = <800>;
+                               vactive = <480>;
+                               hfront-porch = <88>;
+                               hback-porch = <88>;
+                               hsync-len = <80>;
+                               vback-porch = <10>;
+                               vfront-porch = <10>;
+                               vsync-len = <25>;
+                               vsync-active = <1>;
                        };
+               };
 
-                       port {
-                               display0_in: endpoint {
-                                       remote-endpoint = <&ipu1_di0_disp0>;
-                               };
+               port {
+                       display0_in: endpoint {
+                               remote-endpoint = <&ipu1_di0_disp0>;
                        };
                };
        };