ARM: exynos: Change snow LCD timings to get 60Hz
authorSean Paul <seanpaul@chromium.org>
Tue, 17 Jul 2012 19:24:33 +0000 (12:24 -0700)
committerGerrit <chrome-bot@google.com>
Tue, 17 Jul 2012 21:41:07 +0000 (14:41 -0700)
Tweak the LCD timings on snow to get a 60Hz refresh rate. We were
previously running at 52Hz because the timings weren't correct.
We have to use out-of-spec horizontal margins (0 instead of 30) to
get up to 60Hz. The panel seems to work well with these values.

BUG=None
TEST=Tested on snow

Change-Id: If92f7a8bdacb811cbbe948393caa1b4ab248ba2f
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/27681
Reviewed-by: Anush Elangovan <anush@google.com>
Tested-by: Anush Elangovan <anush@google.com>
Reviewed-by: Mandeep Singh Baines <msb@chromium.org>
arch/arm/mach-exynos/mach-exynos5-dt.c

index d7a2383..f247717 100644 (file)
@@ -134,10 +134,10 @@ static struct s3c_fb_pd_win smdk5250_fb_win2 = {
 };
 
 static struct fb_videomode snow_fb_window = {
-       .left_margin    = 0x80,
-       .right_margin   = 0x48,
-       .upper_margin   = 14,
-       .lower_margin   = 3,
+       .left_margin    = 0,
+       .right_margin   = 0,
+       .upper_margin   = 4,
+       .lower_margin   = 4,
        .hsync_len      = 5,
        .vsync_len      = 32,
        .xres           = 1366,