Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932157AbbEKJ7T (ORCPT ); Mon, 11 May 2015 05:59:19 -0400 Received: from mail-ob0-f181.google.com ([209.85.214.181]:36288 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932135AbbEKJ7N (ORCPT ); Mon, 11 May 2015 05:59:13 -0400 MIME-Version: 1.0 In-Reply-To: <1430908148-201129-4-git-send-email-mika.westerberg@linux.intel.com> References: <1430908148-201129-1-git-send-email-mika.westerberg@linux.intel.com> <1430908148-201129-4-git-send-email-mika.westerberg@linux.intel.com> Date: Mon, 11 May 2015 11:59:12 +0200 Message-ID: Subject: Re: [PATCH v2 3/3] i2c / ACPI: Assign IRQ for devices that have GpioInt automatically From: Linus Walleij To: Mika Westerberg , Wolfram Sang Cc: "Rafael J. Wysocki" , Alexandre Courbot , Octavian Purdila , Robert Dolca , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , ACPI Devel Maling List , "linux-i2c@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 887 Lines: 22 On Wed, May 6, 2015 at 12:29 PM, Mika Westerberg wrote: > Following what DT already does. If the device does not have ACPI Interrupt > resource but instead it has one or more GpioInt resources listed below it, > we take the first GpioInt resource, convert it to suitable Linux IRQ number > and pass it to the driver instead. > > This makes drivers simpler because the don't need to care about GPIOs at > all if only thing they need is interrupt. > > Signed-off-by: Mika Westerberg Need Wolfram's ACK on this too, for funneling through the GPIO tree. Yours, Linus Walleij -- 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/