Skip to content

Commit

Permalink
HID/Input: ODROID-COMMON: input/touchscreen: Add D-WAV Multitouch driver
Browse files Browse the repository at this point in the history
Change-Id: Iee48575c924db11886bd25145a9fd2cdbc52b63d
Signed-off-by: TogoFire <togofire@mailfence.com>
  • Loading branch information
hhk7734 authored and TogoFire committed Sep 24, 2024
1 parent 9a6a2f4 commit 62ed436
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 @@ -1358,4 +1358,10 @@
#define USB_VENDER_ID_TEMP_HHG_AKSY 0x1234
#define USB_PRODUCT_ID_AKSYS_HHG 0x1000

#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 @@ -889,6 +889,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 @@ -1338,4 +1338,14 @@ source "drivers/input/touchscreen/synaptics_dsx/Kconfig"

source "drivers/input/touchscreen/nt36xxx/Kconfig"

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 @@ -110,6 +110,7 @@ obj-$(CONFIG_TOUCHSCREEN_COLIBRI_VF50) += colibri-vf50-ts.o
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_DWAV_USB_MT) += dwav-usb-mt.o
obj-$(CONFIG_TOUCHSCREEN_ST) += st/
obj-$(CONFIG_TOUCHSCREEN_FTS) += focaltech_touch/
#ifdef OPLUS_FEATURE_TP_BASIC
Expand Down
Loading

0 comments on commit 62ed436

Please sign in to comment.