aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/littleton.c
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-04-13 11:06:49 +0800
committerEric Miao <eric.miao@marvell.com>2009-04-27 11:46:56 +0800
commitfc76132b1e72efe45b5a5a693caadd54c3037f55 (patch)
tree236abd9a834b8d3cca4ba36e07ac748991ed89e1 /arch/arm/mach-pxa/littleton.c
parent[ARM] pxa/zylonite: configure GPIO18/19 correctly, used by 2 GPIO expanders (diff)
downloadlinux-dev-fc76132b1e72efe45b5a5a693caadd54c3037f55.tar.xz
linux-dev-fc76132b1e72efe45b5a5a693caadd54c3037f55.zip
[ARM] pxa/littleton: add missing da9034 touchscreen support
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-pxa/littleton.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c
index e13f6a81c223..c872b9feb4d4 100644
--- a/arch/arm/mach-pxa/littleton.c
+++ b/arch/arm/mach-pxa/littleton.c
@@ -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",
@@ -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,
},
};