From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: Re: [PATCH] driver: platform: Add support for GpioInt() ACPI to platform_get_irq() Date: Thu, 7 Feb 2019 21:45:46 +0200 Message-ID: References: <20190207185917.167829-1-egranata@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: egranata@google.com, Greg Kroah-Hartman , Enric Balletbo i Serra , Linux Kernel Mailing List , Gwendal Grignou , Dmitry Torokhov , ACPI Devel Maling List , Brian Norris , Enrico Granata , Mika Westerberg , Andy Shevchenko , Hans de Goede List-Id: linux-acpi@vger.kernel.org On Thu, Feb 7, 2019 at 9:39 PM Andy Shevchenko wrote: > On Thu, Feb 7, 2019 at 9:04 PM Rafael J. Wysocki wrote: > > > This commit adds that functionality. > > How that can override the configuration / BIOS flavour when driver > needs to register an interrupt out of GpioIo() resource? One more missed example, Two variants of the IRQ resources in the table for the _same_ device but on different platforms. --Variant1-- Device(XYZ) _CRS1() { Interrupt() GpioInt() Interrupt() } --Variant2-- Device(XYZ) _CRS2() { GpioInt() Interrupt() Interrupt() } How to always get second resource? -- With Best Regards, Andy Shevchenko