Skip to content

Commit

Permalink
[ARM] pxa/littleton: add missing da9034 touchscreen support
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Miao <eric.miao@marvell.com>
  • Loading branch information
Eric Miao committed Apr 27, 2009
1 parent b49e385 commit fc76132
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/mach-pxa/littleton.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,11 @@ static struct led_info littleton_da9034_leds[] = {
},
};

static struct da9034_touch_pdata littleton_da9034_touch = {
.x_inverted = 1,
.interval_ms = 20,
};

static struct da903x_subdev_info littleton_da9034_subdevs[] = {
{
.name = "da903x-led",
Expand All @@ -350,6 +355,10 @@ static struct da903x_subdev_info littleton_da9034_subdevs[] = {
}, {
.name = "da903x-backlight",
.id = DA9034_ID_WLED,
}, {
.name = "da9034-touch",
.id = DA9034_ID_TOUCH,
.platform_data = &littleton_da9034_touch,
},
};

Expand Down

0 comments on commit fc76132

Please sign in to comment.