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

Andy Shevchenko
2019-02-07T19:46:01Z

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