From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jingoo Han Date: Tue, 06 Mar 2012 07:32:46 +0000 Subject: RE: [PATCH 3/3] ARM: Exynos: Rework platform data for lcd controller for Origen board Message-Id: <002601ccfb6b$536bfc00$fa43f400$%han@samsung.com> List-Id: References: <1330789808-8253-1-git-send-email-thomas.abraham@linaro.org> <1330789808-8253-4-git-send-email-thomas.abraham@linaro.org> In-Reply-To: <1330789808-8253-4-git-send-email-thomas.abraham@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: 'Thomas Abraham' , linux-fbdev@vger.kernel.org Cc: FlorianSchandinat@gmx.de, linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, ben-linux@fluff.org, patches@linaro.org, 'Jingoo Han' > -----Original Message----- > From: Thomas Abraham [mailto:thomas.abraham@linaro.org] > Sent: Sunday, March 04, 2012 12:50 AM > To: linux-fbdev@vger.kernel.org > Cc: FlorianSchandinat@gmx.de; linux-samsung-soc@vger.kernel.org; kgene.kim@samsung.com; > jg1.han@samsung.com; ben-linux@fluff.org; patches@linaro.org > Subject: [PATCH 3/3] ARM: Exynos: Rework platform data for lcd controller for Origen board > > The 'default_win' element in the platform data is removed and the lcd panel > video timing values are moved out of individual window configuration data. > > Cc: Ben Dooks > Cc: Jingoo Han > Signed-off-by: Thomas Abraham It looks good. Acked-by: Jingoo Han > --- > arch/arm/mach-exynos/mach-origen.c | 24 ++++++++++++++---------- > 1 files changed, 14 insertions(+), 10 deletions(-) > > diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c > index f57aed4..dc4ecc3 100644 > --- a/arch/arm/mach-exynos/mach-origen.c > +++ b/arch/arm/mach-exynos/mach-origen.c > @@ -583,22 +583,26 @@ static struct platform_device origen_lcd_hv070wsa = { > }; > > static struct s3c_fb_pd_win origen_fb_win0 = { > - .win_mode = { > - .left_margin = 64, > - .right_margin = 16, > - .upper_margin = 64, > - .lower_margin = 16, > - .hsync_len = 48, > - .vsync_len = 3, > - .xres = 1024, > - .yres = 600, > - }, > + .xres = 512, > + .yres = 300, > .max_bpp = 32, > .default_bpp = 24, > }; > > +static struct fb_videomode lcd_hv070wsa_timing = { > + .left_margin = 64, > + .right_margin = 16, > + .upper_margin = 64, > + .lower_margin = 16, > + .hsync_len = 48, > + .vsync_len = 3, > + .xres = 1024, > + .yres = 600, > +}; > + > static struct s3c_fb_platdata origen_lcd_pdata __initdata = { > .win[0] = &origen_fb_win0, > + .vtiming = &lcd_hv070wsa_timing, > .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB, > .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC | > VIDCON1_INV_VCLK, > -- > 1.6.6.rc2