]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun6i: Change framebuffer node names to avoid warnings
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Nov 2018 09:39:42 +0000 (10:39 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Nov 2018 14:14:06 +0000 (15:14 +0100)
The simple-framebuffer nodes have a unit address, but no reg property which
generates a warning when compiling it with DTC.

Change the simple-framebuffer node names so that there is no warnings on
this anymore.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun6i-a31.dtsi

index b60aaacbab5eb4cd1a752a9926895f9da77a8923..42a963975bdedcfbded05285dda1cc73f1f42138 100644 (file)
@@ -62,7 +62,7 @@ chosen {
                #size-cells = <1>;
                ranges;
 
-               simplefb_hdmi: framebuffer@0 {
+               simplefb_hdmi: framebuffer-lcd0-hdmi {
                        compatible = "allwinner,simple-framebuffer",
                                     "simple-framebuffer";
                        allwinner,pipeline = "de_be0-lcd0-hdmi";
@@ -73,7 +73,7 @@ simplefb_hdmi: framebuffer@0 {
                        status = "disabled";
                };
 
-               simplefb_lcd: framebuffer@1 {
+               simplefb_lcd: framebuffer-lcd0 {
                        compatible = "allwinner,simple-framebuffer",
                                     "simple-framebuffer";
                        allwinner,pipeline = "de_be0-lcd0";