linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	Mark Rutland <mark.rutland@arm.com>,
	sb@m-labs.hk, Mika Westerberg <mika.westerberg@linux.intel.com>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] HID: Support for Lenovo Thinkpad 10 digitizer
Date: Mon, 23 Feb 2015 15:52:42 +0200	[thread overview]
Message-ID: <1424699565-138045-1-git-send-email-mika.westerberg@linux.intel.com> (raw)

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(-)

-- 
2.1.4

             reply	other threads:[~2015-02-23 13:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 13:52 Mika Westerberg [this message]
2015-02-23 13:52 ` [PATCH 1/3] HID: wacom: Add support for I2C connected devices Mika Westerberg
2015-02-23 15:22   ` Benjamin Tissoires
2015-02-24 10:31   ` Jiri Kosina
2015-02-23 13:52 ` [PATCH 2/3] HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize Mika Westerberg
2015-02-23 15:26   ` Benjamin Tissoires
2015-02-24  7:05     ` Mika Westerberg
2015-02-23 13:52 ` [PATCH 3/3] HID: i2c-hid: Add support for ACPI GPIO interrupts Mika Westerberg
2015-02-23 15:35   ` Benjamin Tissoires
2015-02-24  7:42     ` Mika Westerberg
2015-02-24 20:02   ` Jiri Kosina
2015-02-24 21:27   ` Antonio Ospite
2015-02-25  8:02     ` Mika Westerberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424699565-138045-1-git-send-email-mika.westerberg@linux.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=sb@m-labs.hk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).