]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: ventana: add support for DLC0700XDP21LF LCD display
authorTim Harvey <tharvey@gateworks.com>
Fri, 11 Jun 2021 19:46:27 +0000 (12:46 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 14:53:33 +0000 (16:53 +0200)
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

index 4536d553ce314d76d39248a7feae6905b2e4a640..583f1a26eef897eb17aa5fad7b1c621fed91f86e 100644 (file)
@@ -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,