diff options
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0086-HID-multitouch-add-support-of-Atmel-multitouch-panel.patch')
-rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0086-HID-multitouch-add-support-of-Atmel-multitouch-panel.patch | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0086-HID-multitouch-add-support-of-Atmel-multitouch-panel.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0086-HID-multitouch-add-support-of-Atmel-multitouch-panel.patch new file mode 100644 index 00000000..1c03e1df --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0086-HID-multitouch-add-support-of-Atmel-multitouch-panel.patch | |||
@@ -0,0 +1,63 @@ | |||
1 | From ba791aa0bf69b20ba364329edc62dc04ddb86dfc Mon Sep 17 00:00:00 2001 | ||
2 | From: Benjamin Tissoires <benjamin.tissoires@gmail.com> | ||
3 | Date: Fri, 23 Dec 2011 15:40:59 +0100 | ||
4 | Subject: [PATCH 086/130] HID: multitouch: add support of Atmel multitouch | ||
5 | panels | ||
6 | |||
7 | commit b105712469d957cf1ab223c1ea72b7ba88edb926 upstream. | ||
8 | |||
9 | Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> | ||
10 | Acked-by: Henrik Rydberg <rydberg@euromail.se> | ||
11 | Signed-off-by: Jiri Kosina <jkosina@suse.cz> | ||
12 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | ||
13 | --- | ||
14 | drivers/hid/Kconfig | 1 + | ||
15 | drivers/hid/hid-ids.h | 3 +++ | ||
16 | drivers/hid/hid-multitouch.c | 5 +++++ | ||
17 | 3 files changed, 9 insertions(+), 0 deletions(-) | ||
18 | |||
19 | diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig | ||
20 | index 332c22a..36f5df3 100644 | ||
21 | --- a/drivers/hid/Kconfig | ||
22 | +++ b/drivers/hid/Kconfig | ||
23 | @@ -335,6 +335,7 @@ config HID_MULTITOUCH | ||
24 | Say Y here if you have one of the following devices: | ||
25 | - 3M PCT touch screens | ||
26 | - ActionStar dual touch panels | ||
27 | + - Atmel panels | ||
28 | - Cando dual touch panels | ||
29 | - Chunghwa panels | ||
30 | - CVTouch panels | ||
31 | diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h | ||
32 | index 56df290..bf95a50 100644 | ||
33 | --- a/drivers/hid/hid-ids.h | ||
34 | +++ b/drivers/hid/hid-ids.h | ||
35 | @@ -145,6 +145,9 @@ | ||
36 | #define USB_DEVICE_ID_ATEN_4PORTKVM 0x2205 | ||
37 | #define USB_DEVICE_ID_ATEN_4PORTKVMC 0x2208 | ||
38 | |||
39 | +#define USB_VENDOR_ID_ATMEL 0x03eb | ||
40 | +#define USB_DEVICE_ID_ATMEL_MULTITOUCH 0x211c | ||
41 | + | ||
42 | #define USB_VENDOR_ID_AVERMEDIA 0x07ca | ||
43 | #define USB_DEVICE_ID_AVER_FM_MR800 0xb800 | ||
44 | |||
45 | diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c | ||
46 | index ea20c8e..7f83024 100644 | ||
47 | --- a/drivers/hid/hid-multitouch.c | ||
48 | +++ b/drivers/hid/hid-multitouch.c | ||
49 | @@ -615,6 +615,11 @@ static const struct hid_device_id mt_devices[] = { | ||
50 | HID_USB_DEVICE(USB_VENDOR_ID_ACTIONSTAR, | ||
51 | USB_DEVICE_ID_ACTIONSTAR_1011) }, | ||
52 | |||
53 | + /* Atmel panels */ | ||
54 | + { .driver_data = MT_CLS_SERIAL, | ||
55 | + HID_USB_DEVICE(USB_VENDOR_ID_ATMEL, | ||
56 | + USB_DEVICE_ID_ATMEL_MULTITOUCH) }, | ||
57 | + | ||
58 | /* Cando panels */ | ||
59 | { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTNUMBER, | ||
60 | HID_USB_DEVICE(USB_VENDOR_ID_CANDO, | ||
61 | -- | ||
62 | 1.7.7.4 | ||
63 | |||