diff options
Diffstat (limited to 'arch/arm/mach-s3c2443/displays/LQ064V3DG01.h')
-rw-r--r-- | arch/arm/mach-s3c2443/displays/LQ064V3DG01.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2443/displays/LQ064V3DG01.h b/arch/arm/mach-s3c2443/displays/LQ064V3DG01.h new file mode 100644 index 000000000000..9ceedf617b45 --- /dev/null +++ b/arch/arm/mach-s3c2443/displays/LQ064V3DG01.h @@ -0,0 +1,38 @@ + +static void lcd_power_enable_lq64(int enable) +{ + s3c2443_gpio_cfgpin(S3C2410_GPG4, S3C2410_GPG4_OUTP); + s3c2410_gpio_setpin(S3C2410_GPG4, enable ? 0 : 1); +} + +#define LQ064V3DG01_DISPLAY \ +{ \ + .display_name = "LQ064V3DG01", \ + /* epll clock, 96MHz */ \ + .clock_source = "display-if", \ + .width = 640, \ + .height = 480, \ + .xres = 640, \ + .yres = 480, \ + .bpp = 16, \ + .frame_rate = 60, \ + /* horizontal front porch */ \ + .left_margin = 12, \ + /* vertical front porch */ \ + .upper_margin = 3, \ + /* horizontal back porch */ \ + .right_margin = 40, \ + /* vertical back porch */ \ + .lower_margin = 31, \ + .hsync_len = 95, \ + .vsync_len = 3, \ + .vidcon1 = S3C24XX_LCD_VIDCON1_IHSYNC | \ + S3C24XX_LCD_VIDCON1_IVSYNC, \ + .vidcon0 = S3C24XX_LCD_VIDCON0_VIDOUT_RGB_IF | \ + S3C24XX_LCD_VIDCON0_RGB_PAR | \ + S3C24XX_LCD_VIDCON0_VCLK_OFF | \ + S3C24XX_LCD_VIDCON0_CLKDIR_DIVIDED, \ + .bpp_mode = S3C24XX_LCD_WINCON_16BPP_565, \ + .display_power_enable = &lcd_power_enable_lq64, \ +} + |