diff options
author | Pedro Perez de Heredia <pedro.perez@digi.com> | 2012-01-25 15:59:48 +0100 |
---|---|---|
committer | Pedro Perez de Heredia <pedro.perez@digi.com> | 2012-02-08 22:00:49 +0100 |
commit | 9521e4b256644b5bf430ea9c1df3f1dd71618685 (patch) | |
tree | 1f9c1942fbabecf366d39fe59ac4557e5ccfdeb1 /arch | |
parent | 321a0e6c6ebac862ecbecbb3c28a23105e8a1f50 (diff) |
ccxmx53: set video DSE to high for highres
This commit sets again the singal strenght of the video lines
to high, when using high res. Without this, there were some
wrong pixels in fullhd displays. This was different than the
results that have been observed in linux.
Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
(cherry picked from commit f1663e328951db554e709256d611e52d9795e0d7)
Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/devices_ccwmx53.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/devices_ccwmx53.c b/arch/arm/mach-mx5/devices_ccwmx53.c index 0c7089e57d04..f6680489101d 100644 --- a/arch/arm/mach-mx5/devices_ccwmx53.c +++ b/arch/arm/mach-mx5/devices_ccwmx53.c @@ -538,7 +538,7 @@ static void mxc_videomode_to_var(struct ad9389_dev *ad9389, struct fb_var_screen if (fbvmode && fbvmode->xres <= 1366) gpio_video_active(0, PAD_CTL_DSE_LOW); else - gpio_video_active(0, PAD_CTL_DSE_MED); + gpio_video_active(0, PAD_CTL_DSE_HIGH); fb_dump_var(str, var); } @@ -681,7 +681,7 @@ static int ccwmx53_hdmi_hw_init(struct ad9389_dev *ad9389) gpio_request(AD9389_GPIO_IRQ, "ad9389_irq"); gpio_direction_input(AD9389_GPIO_IRQ); } - gpio_video_active(pdata->dispif, PAD_CTL_DSE_MED); + gpio_video_active(pdata->dispif, PAD_CTL_DSE_HIGH); return 0; } @@ -733,6 +733,7 @@ int __init ccwmx5x_init_fb(void) #if !defined(CONFIG_CCXMX5X_DISP1) if (i == 1) continue; #endif + /* Set default pixel format, maybe overwritten later */ mx53_fb_data[i].interface_pix_fmt = i ? DISP1_PIX_FMT : DISP0_PIX_FMT; |