Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277069
b: refs/heads/master
c: 4d4b256
h: refs/heads/master
i:
  277067: deb3d30
v: v3
  • Loading branch information
Eric Bénard authored and Sascha Hauer committed Dec 19, 2011
1 parent 2da3b2a commit 1a57d60
Show file tree
Hide file tree
Showing 2 changed files with 8 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: a69aa72af34f051b0ddd0d553f6a7b5098878c9d
refs/heads/master: 4d4b2562fc9f47becffa4593e254c16a59e87d49
8 changes: 7 additions & 1 deletion trunk/arch/arm/mach-imx/mach-cpuimx35.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,18 @@ static const struct imxi2c_platform_data
.bitrate = 100000,
};

#define TSC2007_IRQGPIO IMX_GPIO_NR(3, 2)
static int tsc2007_get_pendown_state(void)
{
return !gpio_get_value(TSC2007_IRQGPIO);
}

static struct tsc2007_platform_data tsc2007_info = {
.model = 2007,
.x_plate_ohms = 180,
.get_pendown_state = tsc2007_get_pendown_state,
};

#define TSC2007_IRQGPIO IMX_GPIO_NR(3, 2)
static struct i2c_board_info eukrea_cpuimx35_i2c_devices[] = {
{
I2C_BOARD_INFO("pcf8563", 0x51),
Expand Down

0 comments on commit 1a57d60

Please sign in to comment.