> -----Original Message-----
> From: Thomas Abraham [mailto:[email protected]]
> Sent: Sunday, March 04, 2012 12:50 AM
> To: [email protected]
> Cc: [email protected]; [email protected]; 
> [email protected];
> [email protected]; [email protected]; [email protected]
> 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 <[email protected]>
> Cc: Jingoo Han <[email protected]>
> Signed-off-by: Thomas Abraham <[email protected]>

It looks good.

Acked-by: Jingoo Han <[email protected]>

> ---
>  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

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to