Skip to contentSkip to conversation

HID: multitouch: Add LG MELF0410 I2C touchscreen support

PATCH Applied Aaron Ma 2 participants 2 messages Dec 4, 2019 – Dec 9, 2019 HID

lore
Share & tools
lore

Aaron Ma

author
#0 lore raw

PATCH 1/1 HID: multitouch: Add LG MELF0410 I2C touchscreen support

Add multitouch support for LG MELF I2C touchscreen. Apply the same workaround as LG USB touchscreen.

---
 drivers/hid/hid-ids.h        | 1 +
 drivers/hid/hid-multitouch.c | 3 +++
 2 files changed, 4 insertions(+)
drivers/hid/hid-ids.h +1 -0
index 7e1689ef35f5..1664700bde9e 100644
@@ -730,6 +730,7 @@
 #define USB_DEVICE_ID_LG_MULTITOUCH	0x0064
 #define USB_DEVICE_ID_LG_MELFAS_MT	0x6007
 #define I2C_DEVICE_ID_LG_8001		0x8001
+#define I2C_DEVICE_ID_LG_7010		0x7010
 
 #define USB_VENDOR_ID_LOGITECH		0x046d
 #define USB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e
drivers/hid/hid-multitouch.c +3 -0
index 3cfeb1629f79..f0d4172d5131 100644
@@ -1985,6 +1985,9 @@ static const struct hid_device_id mt_devices[] = {
 	{ .driver_data = MT_CLS_LG,
 		HID_USB_DEVICE(USB_VENDOR_ID_LG,
 			USB_DEVICE_ID_LG_MELFAS_MT) },
+	{ .driver_data = MT_CLS_LG,
+		HID_DEVICE(BUS_I2C, HID_GROUP_GENERIC,
+			USB_VENDOR_ID_LG, I2C_DEVICE_ID_LG_7010) },
 
 	/* MosArt panels */
 	{ .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,
Signature · 1 line
2.24.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Aaron Ma

Add multitouch support for LG MELF I2C touchscreen. Apply the same workaround as LG USB touchscreen.

Applied, thank you Aaron.

Signature · 2 lines
Jiri Kosina
SUSE Labs