summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2014-10-02 12:16:34 -0700
committerStefano Babic <sbabic@denx.de>2014-10-06 17:57:22 +0200
commitd6949e3f9dc6f2bbc63b1614601291091d1f0347 (patch)
tree0d5ccb159eacd11af0494911323f4ae574cec2c3
parent4adc1127f8c50c4361d0024e098a91e7050e7400 (diff)
downloadu-boot-imx-d6949e3f9dc6f2bbc63b1614601291091d1f0347.zip
u-boot-imx-d6949e3f9dc6f2bbc63b1614601291091d1f0347.tar.gz
u-boot-imx-d6949e3f9dc6f2bbc63b1614601291091d1f0347.tar.bz2
nitrogen6x: display: add LDB-WXGA-S for SPWG 1280x800 displays
This patch adds support for LVDS WXGA displays that use the SPWG encoding standard instead of JEIDA. No auto-detection is enabled and you must explicitly set the 'panel' environment variable: U-Boot > setenv panel LDB-WXGA-S U-Boot > saveenv && reset Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
-rw-r--r--board/boundary/nitrogen6x/nitrogen6x.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
index 2200bc7..045f81e 100644
--- a/board/boundary/nitrogen6x/nitrogen6x.c
+++ b/board/boundary/nitrogen6x/nitrogen6x.c
@@ -534,6 +534,26 @@ struct display_info_t const displays[] = {{
.sync = FB_SYNC_EXT,
.vmode = FB_VMODE_NONINTERLACED
} }, {
+ .bus = 0,
+ .addr = 0,
+ .pixfmt = IPU_PIX_FMT_RGB24,
+ .detect = NULL,
+ .enable = enable_lvds,
+ .mode = {
+ .name = "LDB-WXGA-S",
+ .refresh = 60,
+ .xres = 1280,
+ .yres = 800,
+ .pixclock = 14065,
+ .left_margin = 40,
+ .right_margin = 40,
+ .upper_margin = 3,
+ .lower_margin = 80,
+ .hsync_len = 10,
+ .vsync_len = 10,
+ .sync = FB_SYNC_EXT,
+ .vmode = FB_VMODE_NONINTERLACED
+} }, {
.bus = 2,
.addr = 0x4,
.pixfmt = IPU_PIX_FMT_LVDS666,