Skip to content

Commit

Permalink
ODROID-COMMON: input/touchscreen: Add D-WAV Multitouch driver.
Browse files Browse the repository at this point in the history
Change-Id: Ia1c8c29d3f69c6ba5d630279c4cc98119b68ab71
  • Loading branch information
hhk7734 authored and tobetter committed Oct 30, 2021
1 parent 939cdfb commit 22648f2
Show file tree
Hide file tree
Showing 5 changed files with 575 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/hid/hid-ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -1353,4 +1353,10 @@
#define USB_VENDOR_ID_SIGNOTEC 0x2133
#define USB_DEVICE_ID_SIGNOTEC_VIEWSONIC_PD1011 0x0018

#define USB_DEVICE_ID_DWAV_MULTITOUCH 0x0005

#define USB_VENDOR_ID_ODROID 0x16b4
#define USB_DEVICE_ID_VU5 0x0704
#define USB_DEVICE_ID_VU7PLUS 0x0705

#endif
4 changes: 4 additions & 0 deletions drivers/hid/hid-quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,10 @@ static const struct hid_device_id hid_ignore_list[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_DPAD) },
#endif
{ HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) },

{ HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_MULTITOUCH) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ODROID, USB_DEVICE_ID_VU5) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ODROID, USB_DEVICE_ID_VU7PLUS) },
{ }
};

Expand Down
10 changes: 10 additions & 0 deletions drivers/input/touchscreen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1366,4 +1366,14 @@ config TOUCHSCREEN_ZINITIX
To compile this driver as a module, choose M here: the
module will be called zinitix.

config TOUCHSCREEN_DWAV_USB_MT
tristate "D-WAV Scientific USB MultiTouch"
depends on USB_ARCH_HAS_HCD
select USB
help
Say Y here if you have a D-WAV Scientific USB(HID) based MultiTouch
controller.

module will be called dwav-usb-mt.

endif
1 change: 1 addition & 0 deletions drivers/input/touchscreen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,4 @@ obj-$(CONFIG_TOUCHSCREEN_ROHM_BU21023) += rohm_bu21023.o
obj-$(CONFIG_TOUCHSCREEN_RASPBERRYPI_FW) += raspberrypi-ts.o
obj-$(CONFIG_TOUCHSCREEN_IQS5XX) += iqs5xx.o
obj-$(CONFIG_TOUCHSCREEN_ZINITIX) += zinitix.o
obj-$(CONFIG_TOUCHSCREEN_DWAV_USB_MT) += dwav-usb-mt.o
Loading

0 comments on commit 22648f2

Please sign in to comment.