Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191917
b: refs/heads/master
c: afc84ad
h: refs/heads/master
i:
  191915: 37bed61
v: v3
  • Loading branch information
Ben Dooks committed May 6, 2010
1 parent 5bd59fd commit 041c910
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4146a65fbdc5274a437f77ff2f3b4889c0edd0e
refs/heads/master: afc84ad11b5c1247c2d0df06f10df69ea7206f6a
19 changes: 9 additions & 10 deletions trunk/arch/arm/mach-s3c2412/mach-jive.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,7 @@ static void jive_lcm_reset(unsigned int set)
{
printk(KERN_DEBUG "%s(%d)\n", __func__, set);

s3c2410_gpio_setpin(S3C2410_GPG(13), set);
s3c2410_gpio_cfgpin(S3C2410_GPG(13), S3C2410_GPIO_OUTPUT);
gpio_set_value(S3C2410_GPG(13), set);
}

#undef LCD_UPPER_MARGIN
Expand Down Expand Up @@ -391,7 +390,7 @@ static struct ili9320_platdata jive_lcm_config = {

static void jive_lcd_spi_chipselect(struct s3c2410_spigpio_info *spi, int cs)
{
s3c2410_gpio_setpin(S3C2410_GPB(7), cs ? 0 : 1);
gpio_set_value(S3C2410_GPB(7), cs ? 0 : 1);
}

static struct s3c2410_spigpio_info jive_lcd_spi = {
Expand All @@ -413,7 +412,7 @@ static struct platform_device jive_device_lcdspi = {

static void jive_wm8750_chipselect(struct s3c2410_spigpio_info *spi, int cs)
{
s3c2410_gpio_setpin(S3C2410_GPH(10), cs ? 0 : 1);
gpio_set_value(S3C2410_GPH(10), cs ? 0 : 1);
}

static struct s3c2410_spigpio_info jive_wm8750_spi = {
Expand Down Expand Up @@ -636,11 +635,11 @@ static void __init jive_machine_init(void)

/* initialise the spi */

s3c2410_gpio_setpin(S3C2410_GPG(13), 0);
s3c2410_gpio_cfgpin(S3C2410_GPG(13), S3C2410_GPIO_OUTPUT);
gpio_request(S3C2410_GPG(13), "lcm reset");
gpio_direction_output(S3C2410_GPG(13), 0);

s3c2410_gpio_setpin(S3C2410_GPB(7), 1);
s3c2410_gpio_cfgpin(S3C2410_GPB(7), S3C2410_GPIO_OUTPUT);
gpio_request(S3C2410_GPB(7), "jive spi");
gpio_direction_output(S3C2410_GPB(7), 1);

s3c2410_gpio_setpin(S3C2410_GPB(6), 0);
s3c2410_gpio_cfgpin(S3C2410_GPB(6), S3C2410_GPIO_OUTPUT);
Expand All @@ -650,8 +649,8 @@ static void __init jive_machine_init(void)

/* initialise the WM8750 spi */

s3c2410_gpio_setpin(S3C2410_GPH(10), 1);
s3c2410_gpio_cfgpin(S3C2410_GPH(10), S3C2410_GPIO_OUTPUT);
gpio_request(S3C2410_GPH(10), "jive wm8750 spi");
gpio_direction_output(S3C2410_GPH(10), 1);

/* Turn off suspend on both USB ports, and switch the
* selectable USB port to USB device mode. */
Expand Down

0 comments on commit 041c910

Please sign in to comment.