Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752514AbbBWNxP (ORCPT ); Mon, 23 Feb 2015 08:53:15 -0500 Received: from mga03.intel.com ([134.134.136.65]:29400 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752471AbbBWNxM (ORCPT ); Mon, 23 Feb 2015 08:53:12 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,631,1418112000"; d="scan'208";a="689426618" From: Mika Westerberg To: Jiri Kosina Cc: Benjamin Tissoires , Mark Rutland , sb@m-labs.hk, Mika Westerberg , 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 Message-Id: <1424699565-138045-1-git-send-email-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1396 Lines: 37 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/