diff options
author | warmcat <andy@warmcat.com> | 2008-11-19 17:09:33 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:33 +0000 |
commit | 72389bf132fb8cb7c05b2e5b360e240676d53e4c (patch) | |
tree | 89a678132d1a7db1e573f6e5b22dca3b609e2c2a /arch/arm/mach-s3c2440/mach-gta02.c | |
parent | 695aab30a59b56143489a17b6b4268b3a9548148 (diff) |
fix-lcm-reinit-post-resume.patch
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-gta02.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index f2b1b66adc8..750fd9726b5 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -76,6 +76,7 @@ #include <asm/plat-s3c24xx/cpu.h> #include <asm/plat-s3c24xx/pm.h> #include <asm/plat-s3c24xx/udc.h> +#include <linux/jbt6k74.h> #include <linux/glamofb.h> @@ -756,10 +757,21 @@ static struct s3c2410_ts_mach_info gta02_ts_cfg = { /* SPI: LCM control interface attached to Glamo3362 */ +void gta02_jbt6k74_reset(int devidx, int level) +{ + glamo_lcm_reset(level); +} + + +const struct jbt6k74_platform_data jbt6k74_pdata = { + .reset = gta02_jbt6k74_reset, +}; + static struct spi_board_info gta02_spi_board_info[] = { { .modalias = "jbt6k74", /* platform_data */ + .platform_data = &jbt6k74_pdata, /* controller_data */ /* irq */ .max_speed_hz = 10 * 1000 * 1000, |