summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0086-HID-multitouch-add-support-of-Atmel-multitouch-panel.patch
diff options
context:
space:
mode:
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.patch63
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 @@
1From ba791aa0bf69b20ba364329edc62dc04ddb86dfc Mon Sep 17 00:00:00 2001
2From: Benjamin Tissoires <benjamin.tissoires@gmail.com>
3Date: Fri, 23 Dec 2011 15:40:59 +0100
4Subject: [PATCH 086/130] HID: multitouch: add support of Atmel multitouch
5 panels
6
7commit b105712469d957cf1ab223c1ea72b7ba88edb926 upstream.
8
9Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
10Acked-by: Henrik Rydberg <rydberg@euromail.se>
11Signed-off-by: Jiri Kosina <jkosina@suse.cz>
12Signed-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
19diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
20index 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
31diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
32index 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
45diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
46index 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--
621.7.7.4
63