ARM: dts: imx27-phytec-phycore-rdk: native-mode is part of display-timings
authorMartin Kaiser <martin@kaiser.cx>
Thu, 1 Aug 2019 15:46:25 +0000 (17:46 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Aug 2019 13:22:52 +0000 (15:22 +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-phytec-phycore-rdk.dts

index 5606f41..bf883e4 100644 (file)
 
        display0: LQ035Q7 {
                model = "Sharp-LQ035Q7";
-               native-mode = <&timing0>;
                bits-per-pixel = <16>;
                fsl,pcr = <0xf00080c0>;
 
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: 240x320 {
                                clock-frequency = <5500000>;
                                hactive = <240>;