]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: apf27dev: native-mode is part of display-timings
authorMartin Kaiser <martin@kaiser.cx>
Thu, 1 Aug 2019 15:46:27 +0000 (17:46 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Aug 2019 13:23:03 +0000 (15:23 +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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx27-apf27dev.dts

index 087c6e237af0e5fe115979af986d7e9b0c066465..6f1e8ce9e76e973ba26f0c36267d1717a2b585b7 100644 (file)
@@ -12,10 +12,10 @@ / {
 
        display: display {
                model = "Chimei-LW700AT9003";
-               native-mode = <&timing0>;
                bits-per-pixel = <16>;  /* non-standard but required */
                fsl,pcr = <0xfae80083>; /* non-standard but required */
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: 800x480 {
                                clock-frequency = <33000033>;
                                hactive = <800>;