Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196144
b: refs/heads/master
c: 5c9a29e
h: refs/heads/master
v: v3
  • Loading branch information
Steve Sakoman authored and Tony Lindgren committed May 20, 2010
1 parent 87c9c43 commit 1c746e6
Show file tree
Hide file tree
Showing 2 changed files with 14 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: 38e473a84ecfe30c03eb68244533cc26cd52c06c
refs/heads/master: 5c9a29ede210b59321a65bd692b7c37b758943e6
14 changes: 13 additions & 1 deletion trunk/arch/arm/mach-omap2/board-overo.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@

#define OVERO_SMSC911X_CS 5
#define OVERO_SMSC911X_GPIO 176
#define OVERO_SMSC911X2_CS 4
#define OVERO_SMSC911X2_GPIO 65

#if defined(CONFIG_TOUCHSCREEN_ADS7846) || \
defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
Expand Down Expand Up @@ -137,6 +139,16 @@ static struct resource overo_smsc911x_resources[] = {
},
};

static struct resource overo_smsc911x2_resources[] = {
{
.name = "smsc911x2-memory",
.flags = IORESOURCE_MEM,
},
{
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL,
},
};

static struct smsc911x_platform_config overo_smsc911x_config = {
.irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW,
.irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN,
Expand All @@ -146,7 +158,7 @@ static struct smsc911x_platform_config overo_smsc911x_config = {

static struct platform_device overo_smsc911x_device = {
.name = "smsc911x",
.id = -1,
.id = 0,
.num_resources = ARRAY_SIZE(overo_smsc911x_resources),
.resource = overo_smsc911x_resources,
.dev = {
Expand Down

0 comments on commit 1c746e6

Please sign in to comment.