Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31672
b: refs/heads/master
c: e8cdf7b
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Tony Lindgren committed Jun 26, 2006
1 parent 3b424db commit e63552e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 495f71db30e279a5a696fa6622fc75451caa8366
refs/heads/master: e8cdf7bdf3efbb1e285fd82a86a3f8fae5ae2665
7 changes: 6 additions & 1 deletion trunk/arch/arm/mach-omap1/board-osk.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,17 @@ static struct platform_device *mistral_devices[] __initdata = {
&osk5912_lcd_device,
};

static int mistral_get_pendown_state(void)
{
return !omap_get_gpio_datain(4);
}

static const struct ads7846_platform_data mistral_ts_info = {
.model = 7846,
.vref_delay_usecs = 100, /* internal, no capacitor */
.x_plate_ohms = 419,
.y_plate_ohms = 486,
// .{x,y,pressure}_{min,max}
.get_pendown_state = mistral_get_pendown_state,
};

static struct spi_board_info __initdata mistral_boardinfo[] = { {
Expand Down

0 comments on commit e63552e

Please sign in to comment.