linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: display: imx: fix native-mode setting
@ 2019-09-18 19:38 Martin Kaiser
  2019-10-01 22:09 ` Rob Herring
  2019-10-05 13:09 ` [PATCH v2 0/2] dt-bindings: display: " Martin Kaiser
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Kaiser @ 2019-09-18 19:38 UTC (permalink / raw)
  To: Shawn Guo, Bartlomiej Zolnierkiewicz, Rob Herring,
	Pengutronix Kernel Team, NXP Linux Team
  Cc: devicetree, linux-kernel, Martin Kaiser

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.

We've already fixed the board definitions which got this wrong. Fix the
example in the imx framebuffer bindings as well.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
 Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt b/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt
index e5a8b363d829..f4df9e83bcd2 100644
--- a/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt
+++ b/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt
@@ -38,10 +38,10 @@ Example:
 
 	display0: display0 {
 		model = "Primeview-PD050VL1";
-		native-mode = <&timing_disp0>;
 		bits-per-pixel = <16>;
 		fsl,pcr = <0xf0c88080>;	/* non-standard but required */
 		display-timings {
+			native-mode = <&timing_disp0>;
 			timing_disp0: 640x480 {
 				hactive = <640>;
 				vactive = <480>;
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-11 15:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-18 19:38 [PATCH] dt-bindings: display: imx: fix native-mode setting Martin Kaiser
2019-10-01 22:09 ` Rob Herring
2019-10-05 13:09 ` [PATCH v2 0/2] dt-bindings: display: " Martin Kaiser
2019-10-05 13:09   ` [PATCH v2 1/2] dt-bindings: display: imx: " Martin Kaiser
2019-10-11 15:30     ` Rob Herring
2019-10-05 13:09   ` [PATCH v2 2/2] dt-bindings: display: clps711x-fb: " Martin Kaiser
2019-10-11 15:30     ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).