diff mbox series

[10/11] imx: ventana: add support for DLC0700XDP21LF LCD display

Message ID 20210611194628.5572-10-tharvey@gateworks.com
State Accepted
Commit b57b14dc7071e988a9d96dea7546b2d96684873d
Delegated to: Stefano Babic
Headers show
Series [01/11] imx: ventana: remove USB_KEYBOARD support | expand

Commit Message

Tim Harvey June 11, 2021, 7:46 p.m. UTC
Add LVDS support for DLC0700XDP21LF 7in 1024x600 display
(equivalent to the DLC-700JMGT4 with new touch controller)

Signed-off-by: Robert Jones <rjones@gateworks.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 board/gateworks/gw_ventana/gw_ventana.c | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Comments

Stefano Babic July 10, 2021, 3:52 p.m. UTC | #1
> Add LVDS support for DLC0700XDP21LF 7in 1024x600 display
> (equivalent to the DLC-700JMGT4 with new touch controller)
> Signed-off-by: Robert Jones <rjones@gateworks.com>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
Stefano Babic July 10, 2021, 7:35 p.m. UTC | #2
> Add LVDS support for DLC0700XDP21LF 7in 1024x600 display
> (equivalent to the DLC-700JMGT4 with new touch controller)
> Signed-off-by: Robert Jones <rjones@gateworks.com>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 4536d553ce..583f1a26ee 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -245,6 +245,27 @@  struct display_info_t const displays[] = {{
 		.vsync_len      = 10,
 		.sync           = FB_SYNC_EXT,
 		.vmode          = FB_VMODE_NONINTERLACED
+} }, {
+	/* DLC0700XDP21LF-C-1 */
+	.bus	= 0,
+	.addr	= 0,
+	.detect	= NULL,
+	.enable	= enable_lvds,
+	.pixfmt	= IPU_PIX_FMT_LVDS666,
+	.mode	= {
+		.name           = "DLC0700XDP21LF",
+		.refresh        = 60,
+		.xres           = 1024,		/* 1024x600active pixels */
+		.yres           = 600,
+		.pixclock       = 15385,	/* 64MHz */
+		.left_margin    = 220,
+		.right_margin   = 40,
+		.upper_margin   = 21,
+		.lower_margin   = 7,
+		.hsync_len      = 60,
+		.vsync_len      = 10,
+		.sync           = FB_SYNC_EXT,
+		.vmode          = FB_VMODE_NONINTERLACED
 } }, {
 	/* DLC800FIG-T-3 */
 	.bus	= 2,