ARM: dts: imx25-pdk: native-mode is part of display-timings
authorMartin Kaiser <martin@kaiser.cx>
Mon, 29 Jul 2019 14:23:16 +0000 (16:23 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 3 Aug 2019 15:08:35 +0000 (17:08 +0200)
Move the native-mode property inside the display-timings node.

According to
Documentation/devicetree/bindings/display/panel/display-timing.txt.
native-mode is a property of the display-timings node.

If it's located outside of display-timings, the native-mode setting is
ignored and the first display timing is used (which is a problem only if
someone adds another display timing).

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx25-pdk.dts

index f8544a9e46330fd756395eaff80f7290dca4af44..05cccd12624cb6c932ef5ec613396bb73de1b67a 100644 (file)
@@ -76,8 +76,8 @@
                bits-per-pixel = <16>;
                fsl,pcr = <0xfa208b80>;
                bus-width = <18>;
-               native-mode = <&wvga_timings>;
                display-timings {
+                       native-mode = <&wvga_timings>;
                        wvga_timings: 640x480 {
                                hactive = <640>;
                                vactive = <480>;