All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] ARM: dts: imx7-colibri: use OF graph to describe the display
@ 2017-03-29 23:21 ` Stefan Agner
  0 siblings, 0 replies; 16+ messages in thread
From: Stefan Agner @ 2017-03-29 23:21 UTC (permalink / raw)
  To: shawnguo, kernel
  Cc: fabio.estevam, robh+dt, mark.rutland, linux-arm-kernel,
	devicetree, linux-kernel, Stefan Agner

To make use of the new eLCDIF DRM driver OF graph description is
required. Describe the display using OF graph nodes.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 38 +++++++++++------------------
 1 file changed, 14 insertions(+), 24 deletions(-)

diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
index 373ee19196a6..7a98a45a0d95 100644
--- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
@@ -44,6 +44,17 @@
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
+
+	panel: panel {
+		compatible = "edt,et057090dhu";
+		backlight = <&bl>;
+
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&lcdif_out>;
+			};
+		};
+	};
 };
 
 &bl {
@@ -75,32 +86,11 @@
 };
 
 &lcdif {
-	display = <&display0>;
 	status = "okay";
 
-	display0: lcd-display {
-		bits-per-pixel = <16>;
-		bus-width = <18>;
-
-		display-timings {
-			native-mode = <&timing_vga>;
-
-			/* Standard VGA timing */
-			timing_vga: 640x480 {
-				clock-frequency = <25175000>;
-				hactive = <640>;
-				vactive = <480>;
-				hback-porch = <40>;
-				hfront-porch = <24>;
-				vback-porch = <32>;
-				vfront-porch = <11>;
-				hsync-len = <96>;
-				vsync-len = <2>;
-				de-active = <1>;
-				hsync-active = <0>;
-				vsync-active = <0>;
-				pixelclk-active = <0>;
-			};
+	port {
+		lcdif_out: endpoint {
+			remote-endpoint = <&panel_in>;
 		};
 	};
 };
-- 
2.12.1

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

end of thread, other threads:[~2017-05-06  0:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 23:21 [PATCH 1/5] ARM: dts: imx7-colibri: use OF graph to describe the display Stefan Agner
2017-03-29 23:21 ` Stefan Agner
2017-03-29 23:21 ` [PATCH 2/5] ARM: dts: imx7-colibri: fix PMIC voltages Stefan Agner
2017-03-29 23:21   ` Stefan Agner
2017-03-29 23:21 ` [PATCH 3/5] ARM: dts: imx7-colibri: allow to disable Ethernet rail Stefan Agner
2017-03-29 23:21   ` Stefan Agner
2017-03-29 23:21 ` [PATCH 4/5] ARM: dts: imx7-colibri: remove 1.8V fixed regulator Stefan Agner
2017-03-29 23:21   ` Stefan Agner
2017-03-29 23:21 ` [PATCH 5/5] ARM: dts: imx7-colibri: add Carrier Board 3.3V/5V regulators Stefan Agner
2017-03-29 23:21   ` Stefan Agner
2017-03-30 13:16 ` [PATCH 1/5] ARM: dts: imx7-colibri: use OF graph to describe the display Shawn Guo
2017-03-30 13:16   ` Shawn Guo
2017-05-05 11:48 ` Fabio Estevam
2017-05-05 13:18   ` Fabio Estevam
2017-05-05 23:52     ` Stefan Agner
2017-05-06  0:15       ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.