From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: Re: [PATCH v4] gpio: Add support for Intel SoC PMIC (Crystal Cove) Date: Tue, 3 Jun 2014 13:57:10 +0300 Message-ID: <20140603105710.GF1730@lahna.fi.intel.com> References: <538459E8.6010701@ti.com> <20140527084615.GC1801@lahna.fi.intel.com> <53847F39.2010503@ti.com> <20140529150058.GB6263@lahna.fi.intel.com> <53875A4B.2060604@ti.com> <20140530082503.GA1645@lahna.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga09.intel.com ([134.134.136.24]:49808 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751189AbaFCK5Q (ORCPT ); Tue, 3 Jun 2014 06:57:16 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Linus Walleij Cc: Grygorii Strashko , Alexandre Courbot , "Zhu, Lejun" , Mathias Nyman , "linux-gpio@vger.kernel.org" , Linux Kernel Mailing List , jacob.jun.pan@linux.intel.com, bin.yang@intel.com On Tue, Jun 03, 2014 at 10:10:13AM +0200, Linus Walleij wrote: > On Fri, May 30, 2014 at 10:25 AM, Mika Westerberg > wrote: > > > I'm thinking that could we solve this so that we call > > acpi_gpiochip_request_interrupts() at the end of gpiochip_irqchip_add() > > and convert both pinctrl-baytrail and gpio-lynxpoint to use > > gpiochip_irqchip_add()? > > Yes that seems like a great way to solve it actually. > > Is someone able to do this refactoring? I have both Haswell and Baytrail hardware here so I can take a look if I have time. > I don't know if you have a case of an ACPI-based GPIO controller > that is *not* supplying interrupts? Because in that case this > would even be required for the thing to work, right? Both Haswell and Baytrail support interrupts but only the later provides ACPI events as far as I can tell.