Re: [PATCH] driver: platform: Add support for GpioInt() ACPI to platform_get_irq()

From: Andy Shevchenko
Date: Thu Feb 07 2019 - 14:46:00 EST


On Thu, Feb 7, 2019 at 9:39 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Thu, Feb 7, 2019 at 9:04 PM Rafael J. Wysocki <rafael@xxxxxxxxxx> 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