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

ARM: dts: edb7211: 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
001d4793 558ea43a

+1 -1
+1 -1
arch/arm/boot/dts/ep7211-edb7211.dts
··· 25 25 26 26 display: display { 27 27 model = "320x240x4"; 28 - native-mode = <&timing0>; 29 28 bits-per-pixel = <4>; 30 29 ac-prescale = <17>; 31 30 32 31 display-timings { 32 + native-mode = <&timing0>; 33 33 timing0: 320x240 { 34 34 hactive = <320>; 35 35 hback-porch = <0>;