From: Eric Miao Date: Mon, 13 Apr 2009 03:06:49 +0000 (+0800) Subject: [ARM] pxa/littleton: add missing da9034 touchscreen support X-Git-Tag: firefly_0821_release~14259^2~4^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fc76132b1e72efe45b5a5a693caadd54c3037f55;p=firefly-linux-kernel-4.4.55.git [ARM] pxa/littleton: add missing da9034 touchscreen support Signed-off-by: Eric Miao --- 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, }, };