diff options
author | Denis Kuzmenko <linux@solonet.org.ua> | 2011-12-06 20:21:54 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-06 20:21:54 +0900 |
commit | 8e146f547a5d12498cbbb0190e1b70cca63c1b87 (patch) | |
tree | ac61074865c5aba83fe2418eeb87935ab2bddaba /arch | |
parent | 51ccd81d9b1220ac1729434ac1ed5b0142001097 (diff) | |
download | linux-8e146f547a5d12498cbbb0190e1b70cca63c1b87.tar.bz2 |
ARM: S3C2440: Add new LCD (W35i) support for Mini2440 board
Signed-off-by: Denis Kuzmenko <linux@solonet.org.ua>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-mini2440.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-mini2440.c b/arch/arm/mach-s3c2440/mach-mini2440.c index 91fe0b4c95f1..937eb7818c1a 100644 --- a/arch/arm/mach-s3c2440/mach-mini2440.c +++ b/arch/arm/mach-s3c2440/mach-mini2440.c @@ -167,6 +167,24 @@ static struct s3c2410fb_display mini2440_lcd_cfg[] __initdata = { .lcdcon5 = (S3C2410_LCDCON5_FRM565 | S3C2410_LCDCON5_HWSWP), }, + /* mini2440 + 3.5" TFT (LCD-W35i, LQ035Q1DG06 type) + touchscreen*/ + [3] = { + _LCD_DECLARE( + /* clock */ + 7, + /* xres, margin_right, margin_left, hsync */ + 320, 68, 66, 4, + /* yres, margin_top, margin_bottom, vsync */ + 240, 4, 4, 9, + /* refresh rate */ + 60), + .lcdcon5 = (S3C2410_LCDCON5_FRM565 | + S3C2410_LCDCON5_INVVDEN | + S3C2410_LCDCON5_INVVFRAME | + S3C2410_LCDCON5_INVVLINE | + S3C2410_LCDCON5_INVVCLK | + S3C2410_LCDCON5_HWSWP), + }, }; /* todo - put into gpio header */ |