mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
[ARM] pxa/littleton: add missing da9034 touchscreen support
Signed-off-by: Eric Miao <eric.miao@marvell.com>
This commit is contained in:
parent
b49e385fc7
commit
fc76132b1e
1 changed files with 9 additions and 0 deletions
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue