diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2014-10-02 12:16:33 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-10-06 17:57:21 +0200 |
commit | 4adc1127f8c50c4361d0024e098a91e7050e7400 (patch) | |
tree | db071db88f0cdb0d63f29953e29f5f473d60d21c | |
parent | 443d4d15d7bd2f2bd5a58a6a6dd8da2a8dd23de4 (diff) | |
download | u-boot-imx-4adc1127f8c50c4361d0024e098a91e7050e7400.zip u-boot-imx-4adc1127f8c50c4361d0024e098a91e7050e7400.tar.gz u-boot-imx-4adc1127f8c50c4361d0024e098a91e7050e7400.tar.bz2 |
nitrogen6x: display: add support for LG-9.7 LVDS display
Add support for LG 9.7" LVDS panel (1024x768) with integrated eGalax
touch screen.
Note that this panel differs only slightly from the Hannstar XGA panel
(margins).
No auto-detection is available because it shares the same touch controller
as the Hannstar-XGA display, so you'll need to configure it through the
'panel' environment variable:
U-Boot > setenv panel LG-9.7
U-Boot > saveenv && reset
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
-rw-r--r-- | board/boundary/nitrogen6x/nitrogen6x.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 5e0461c..2200bc7 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -554,6 +554,26 @@ struct display_info_t const displays[] = {{ .sync = FB_SYNC_EXT, .vmode = FB_VMODE_NONINTERLACED } }, { + .bus = 0, + .addr = 0, + .pixfmt = IPU_PIX_FMT_LVDS666, + .detect = NULL, + .enable = enable_lvds, + .mode = { + .name = "LG-9.7", + .refresh = 60, + .xres = 1024, + .yres = 768, + .pixclock = 15385, /* ~65MHz */ + .left_margin = 480, + .right_margin = 260, + .upper_margin = 16, + .lower_margin = 6, + .hsync_len = 250, + .vsync_len = 10, + .sync = FB_SYNC_EXT, + .vmode = FB_VMODE_NONINTERLACED +} }, { .bus = 2, .addr = 0x38, .pixfmt = IPU_PIX_FMT_LVDS666, |