diff options
author | Tim Harvey <tharvey@gateworks.com> | 2019-02-04 13:10:51 -0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-02-15 22:01:15 +0100 |
commit | b81c07bcc372fd6baeaf672660028d95439f329d (patch) | |
tree | cff6335a3d01725493265c63c85d2f4c4e977987 /board/gateworks | |
parent | d1c3867a08de98e23c375c76076ab301d9783596 (diff) | |
download | u-boot-b81c07bcc372fd6baeaf672660028d95439f329d.tar.gz u-boot-b81c07bcc372fd6baeaf672660028d95439f329d.tar.bz2 u-boot-b81c07bcc372fd6baeaf672660028d95439f329d.zip |
imx: ventana: add support for Z101WX01 LVDS display
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks')
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana.c | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index e1ad0fc9a0..adccad8032 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -424,7 +424,29 @@ struct display_info_t const displays[] = {{ .vsync_len = 10, .sync = FB_SYNC_EXT, .vmode = FB_VMODE_NONINTERLACED -} } }; +} }, { + .bus = 2, + .addr = 0x5d, + .detect = detect_i2c, + .enable = enable_lvds, + .pixfmt = IPU_PIX_FMT_LVDS666, + .mode = { + .name = "Z101WX01", + .refresh = 60, + .xres = 1280, + .yres = 800, + .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 + } +}, +}; size_t display_count = ARRAY_SIZE(displays); static void setup_display(void) |