提交 fc76132b 编写于 作者: E Eric Miao

[ARM] pxa/littleton: add missing da9034 touchscreen support

Signed-off-by: NEric Miao <eric.miao@marvell.com>
上级 b49e385f
...@@ -334,6 +334,11 @@ static struct led_info littleton_da9034_leds[] = { ...@@ -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[] = { static struct da903x_subdev_info littleton_da9034_subdevs[] = {
{ {
.name = "da903x-led", .name = "da903x-led",
...@@ -350,6 +355,10 @@ static struct da903x_subdev_info littleton_da9034_subdevs[] = { ...@@ -350,6 +355,10 @@ static struct da903x_subdev_info littleton_da9034_subdevs[] = {
}, { }, {
.name = "da903x-backlight", .name = "da903x-backlight",
.id = DA9034_ID_WLED, .id = DA9034_ID_WLED,
}, {
.name = "da9034-touch",
.id = DA9034_ID_TOUCH,
.platform_data = &littleton_da9034_touch,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册