diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:11:16 +0000 |
---|---|---|
committer | Andy Green <andy@openmoko.com> | 2008-11-19 17:11:16 +0000 |
commit | 870784bf1f7a8e2269f2384867a651fce101757f (patch) | |
tree | d1bd5ff577cc697c3d7fa0cae511ab14dc829967 /arch/arm | |
parent | 27460b673fa446babd4d35ca8eb5f66c42cb99a3 (diff) |
tracking-glamo-suspend-even-more-meddling.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index c78ada3eb7c..96a4c9ecb62 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -1038,7 +1038,7 @@ static struct spi_board_info gta02_spi_board_info[] = { .platform_data = &jbt6k74_pdata, /* controller_data */ /* irq */ - .max_speed_hz = 10 * 1000 * 1000, + .max_speed_hz = 100 * 1000, .bus_num = 2, /* chip_select */ }, @@ -1435,6 +1435,12 @@ static int gta02_glamo_mci_use_slow(void) return neo1973_pm_gps_is_on(); } +static void gta02_glamo_external_reset(int level) +{ + s3c2410_gpio_setpin(GTA02_GPIO_3D_RESET, level); + s3c2410_gpio_cfgpin(GTA02_GPIO_3D_RESET, S3C2410_GPIO_OUTPUT); +} + static struct glamofb_platform_data gta02_glamo_pdata = { .width = 43, .height = 58, @@ -1469,6 +1475,7 @@ static struct glamofb_platform_data gta02_glamo_pdata = { .glamo_set_mci_power = gta02_glamo_mmc_set_power, .glamo_mci_use_slow = gta02_glamo_mci_use_slow, .glamo_irq_is_wired = glamo_irq_is_wired, + .glamo_external_reset = gta02_glamo_external_reset }; static struct resource gta02_glamo_resources[] = { |