Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx27 phyCARD-S: native-mode is part of display-timings

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>

authored by

Martin Kaiser and committed by
Shawn Guo
aae15b14 d81765d6

+1 -1
+1 -1
arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts
··· 15 15 16 16 display: display { 17 17 model = "Primeview-PD050VL1"; 18 - native-mode = <&timing0>; 19 18 bits-per-pixel = <16>; /* non-standard but required */ 20 19 fsl,pcr = <0xf0c88080>; /* non-standard but required */ 21 20 display-timings { 21 + native-mode = <&timing0>; 22 22 timing0: 640x480 { 23 23 hactive = <640>; 24 24 vactive = <480>;