Thread (12 messages) 12 messages, 4 authors, 2021-03-02

Re: [PATCH v1 1/3] gpiolib: acpi: Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirk

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2021-03-02 17:51:34
Also in: linux-acpi, lkml

On Tue, Mar 02, 2021 at 03:48:43PM +0100, Linus Walleij wrote:
On Thu, Feb 25, 2021 at 5:33 PM Andy Shevchenko
[off-list ref] wrote:
quoted
On some systems the ACPI tables has wrong pin number and instead of
having a relative one it provides an absolute one in the global GPIO
number space.

Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirk to cope with such cases.

Fixes: ba8c90c61847 ("gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2")
Depends-on: 0ea683931adb ("gpio: dwapb: Convert driver to using the GPIO-lib-based IRQ-chip")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
OH THE HORROR!
However, we discussed it before. It is as it is.
Unfortunately :-( (And recently it seems MS does something really "creative" on
ARM ACPI platform)
It's the right place to fix the problem, so:
Acked-by: Linus Walleij <redacted>
I am waiting for Mika, but if he keeps silent let's say to the end of the day,
I will submit it as is to the v5.12-rcX fixes.

Thanks!

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help