From: Patrick Georgi Subject: [PATCH]Framebuffer fix for SmartQ5 Date: Thu, 01 Jul 2010 13:25:51 +0200 Message-ID: <4C2C7B3F.8030609@georgi-clan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from georgi-clan.de ([87.118.84.233]:44729 "EHLO georgi-clan.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752569Ab0GALeG (ORCPT ); Thu, 1 Jul 2010 07:34:06 -0400 Received: from [192.168.10.98] (p4FEC9ED4.dip.t-dialin.net [79.236.158.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: patrick) by georgi-clan.de (Postfix) with ESMTPSA id 35859778930 for ; Thu, 1 Jul 2010 13:25:47 +0200 (CEST) Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: linux-samsung-soc@vger.kernel.org Hi, the following change makes the framebuffer work on SmartQ5. There are still some problems with ADC, so this patch alone won't make the device run (or even give a working fb), but it's one issue less to think about. Signed-off-by: Patrick Georgi diff --git a/arch/arm/mach-s3c64xx/mach-smartq5.c b/arch/arm/mach-s3c64xx/mach-smartq5.c index 1d0326e..27c2901 100644 --- a/arch/arm/mach-s3c64xx/mach-smartq5.c +++ b/arch/arm/mach-s3c64xx/mach-smartq5.c @@ -136,10 +136,10 @@ static struct s3c_fb_pd_win smartq5_fb_win0 = { .win_mode = { .pixclock = 1000000000000ULL / ((40+1+216+800)*(10+1+35+480)*80), - .left_margin = 40, - .right_margin = 216, - .upper_margin = 10, - .lower_margin = 35, + .left_margin = 216, + .right_margin = 40, + .upper_margin = 35, + .lower_margin = 10, .hsync_len = 1, .vsync_len = 1, .xres = 800,