Skip to content

HID: Support for Lenovo Thinkpad 10 digitizer

Mika Westerberg linux-input lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am 1424699565-138045-1-git-send-email-mika.westerberg@linux.intel.com

Versions newest first

  1. v1 Latest3 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3HID: wacom: Add support for I2C connected devicesdrivers/hid/wacom_wac.c+5 -02 replies
2/3HID: i2c-hid: Read wMaxInputLength of input report instead of bufsizedrivers/hid/i2c-hid/i2c-hid.c+8 -02 replies
3/3HID: i2c-hid: Add support for ACPI GPIO interruptsdrivers/hid/i2c-hid/i2c-hid.c+50 -185 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchBenjamin Tissoires
1/3R-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] HID: Support for Lenovo Thinkpad 10 digitizer

Hi,

Previously I sent a patch that enables GPIO interrupts for i2c-hid. This was not accepted by the community:

	https://lkml.org/lkml/2015/1/26/398

However, it turned out that there are actually device(s) out there that need this support. One of them is Lenovo Thinkpad 10. It has touch screen connected to IO-APIC but in addition it includes Wacom digitizer that uses GPIO as an interrupt.

In this version of the patch, I limited the GPIO retrieving code path to be taken only when the device is enumerated from ACPI. This allows DT to use whatever is the appropriate mechanism to represent GPIO/interrupt configuration and still makes current ACPI based devices to work.

The first two patches are needed to get the Wacom digitizer work properly with i2c-hid.

Mika Westerberg (3):
HID: wacom: Add support for I2C connected devices
HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize
HID: i2c-hid: Add support for ACPI GPIO interrupts

 drivers/hid/i2c-hid/i2c-hid.c | 76 +++++++++++++++++++++++++++++++++----------
 drivers/hid/wacom_wac.c       |  5 +++
 2 files changed, 63 insertions(+), 18 deletions(-)
Signature · 1 line
2.1.4