Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933660AbbEMIZ3 (ORCPT ); Wed, 13 May 2015 04:25:29 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:33710 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932638AbbEMIZW (ORCPT ); Wed, 13 May 2015 04:25:22 -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: Wed, 13 May 2015 10:25:21 +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 Cc: "Rafael J. Wysocki" , Alexandre Courbot , Wolfram Sang , 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: 869 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 Patch applied to the GPIO tree with Wolfram's ACK. 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/