Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752732AbbBXUCn (ORCPT ); Tue, 24 Feb 2015 15:02:43 -0500 Received: from cantor2.suse.de ([195.135.220.15]:60749 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751848AbbBXUCl (ORCPT ); Tue, 24 Feb 2015 15:02:41 -0500 Date: Tue, 24 Feb 2015 21:02:38 +0100 (CET) From: Jiri Kosina To: Mika Westerberg cc: Benjamin Tissoires , Mark Rutland , sb@m-labs.hk, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] HID: i2c-hid: Add support for ACPI GPIO interrupts In-Reply-To: <1424699565-138045-4-git-send-email-mika.westerberg@linux.intel.com> Message-ID: References: <1424699565-138045-1-git-send-email-mika.westerberg@linux.intel.com> <1424699565-138045-4-git-send-email-mika.westerberg@linux.intel.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 798 Lines: 22 On Mon, 23 Feb 2015, Mika Westerberg wrote: > The HID over I2C specification allows to have the interrupt for a HID > device to be GPIO instead of directly connected to the IO-APIC. > > Add support for this so that when the driver does not find proper interrupt > number from the I2C client structure we check if it has ACPI GpioInt() > resource listed in _CRS. If it is found we convert it to an interrupt > number and use it instead. > > Signed-off-by: Mika Westerberg Applied, thanks. -- Jiri Kosina SUSE Labs -- 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/