nitrogen6x: display: add wvga-lvds panel
Add support for WVGA (800x480) panels using VESA GTF timings over
LVDS.
No auto-detection is supported, so you must configure this panel
manually through the 'panel' environment variable:
U-Boot > setenv panel svga
U-Boot > saveenv && reset
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
This commit is contained in:
committed by
Stefano Babic
parent
865aa30bb3
commit
c745de7174
@@ -673,6 +673,26 @@ struct display_info_t const displays[] = {{
|
|||||||
.vsync_len = 10,
|
.vsync_len = 10,
|
||||||
.sync = FB_SYNC_EXT,
|
.sync = FB_SYNC_EXT,
|
||||||
.vmode = FB_VMODE_NONINTERLACED
|
.vmode = FB_VMODE_NONINTERLACED
|
||||||
|
} }, {
|
||||||
|
.bus = 0,
|
||||||
|
.addr = 0,
|
||||||
|
.pixfmt = IPU_PIX_FMT_LVDS666,
|
||||||
|
.detect = 0,
|
||||||
|
.enable = enable_lvds,
|
||||||
|
.mode = {
|
||||||
|
.name = "wvga-lvds",
|
||||||
|
.refresh = 57,
|
||||||
|
.xres = 800,
|
||||||
|
.yres = 480,
|
||||||
|
.pixclock = 15385,
|
||||||
|
.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
|
||||||
} }, {
|
} }, {
|
||||||
.bus = 2,
|
.bus = 2,
|
||||||
.addr = 0x48,
|
.addr = 0x48,
|
||||||
|
|||||||
Reference in New Issue
Block a user