diff options
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-smartq5.c')
| -rw-r--r-- | arch/arm/mach-s3c64xx/mach-smartq5.c | 38 | 
1 files changed, 23 insertions, 15 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-smartq5.c b/arch/arm/mach-s3c64xx/mach-smartq5.c index 3a3e5acde52..dec4c08e834 100644 --- a/arch/arm/mach-s3c64xx/mach-smartq5.c +++ b/arch/arm/mach-s3c64xx/mach-smartq5.c @@ -20,16 +20,18 @@  #include <asm/mach-types.h>  #include <asm/mach/arch.h> +#include <video/samsung_fimd.h>  #include <mach/map.h> -#include <mach/regs-fb.h>  #include <mach/regs-gpio.h> -#include <mach/s3c6410.h> +#include <mach/gpio-samsung.h>  #include <plat/cpu.h>  #include <plat/devs.h>  #include <plat/fb.h>  #include <plat/gpio-cfg.h> +#include <plat/samsung-time.h> +#include "common.h"  #include "mach-smartq.h"  static struct gpio_led smartq5_leds[] = { @@ -107,23 +109,27 @@ static struct platform_device smartq5_buttons_device  = {  };  static struct s3c_fb_pd_win smartq5_fb_win0 = { -	.win_mode	= { -		.left_margin	= 216, -		.right_margin	= 40, -		.upper_margin	= 35, -		.lower_margin	= 10, -		.hsync_len	= 1, -		.vsync_len	= 1, -		.xres		= 800, -		.yres		= 480, -		.refresh	= 80, -	},  	.max_bpp	= 32,  	.default_bpp	= 16, +	.xres		= 800, +	.yres		= 480, +}; + +static struct fb_videomode smartq5_lcd_timing = { +	.left_margin	= 216, +	.right_margin	= 40, +	.upper_margin	= 35, +	.lower_margin	= 10, +	.hsync_len	= 1, +	.vsync_len	= 1, +	.xres		= 800, +	.yres		= 480, +	.refresh	= 80,  };  static struct s3c_fb_platdata smartq5_lcd_pdata __initdata = {  	.setup_gpio	= s3c64xx_fb_gpio_setup_24bpp, +	.vtiming	= &smartq5_lcd_timing,  	.win[0]		= &smartq5_fb_win0,  	.vidcon0	= VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,  	.vidcon1	= VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC | @@ -146,9 +152,11 @@ static void __init smartq5_machine_init(void)  MACHINE_START(SMARTQ5, "SmartQ 5")  	/* Maintainer: Maurus Cuelenaere <mcuelenaere AT gmail DOT com> */ -	.boot_params	= S3C64XX_PA_SDRAM + 0x100, +	.atag_offset	= 0x100,  	.init_irq	= s3c6410_init_irq,  	.map_io		= smartq_map_io,  	.init_machine	= smartq5_machine_init, -	.timer		= &s3c24xx_timer, +	.init_late	= s3c64xx_init_late, +	.init_time	= samsung_timer_init, +	.restart	= s3c64xx_restart,  MACHINE_END  | 
