gpio: mb86s7x: Enable ACPI support
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 28 May 2019 13:36:47 +0000 (15:36 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 29 May 2019 09:42:19 +0000 (10:42 +0100)
commitf3d705d506a2afa6c21c2c728783967e80863b31
tree784c5c72e7141dec275aae2c83a87313cd4ad41f
parent3d090a36c8c845b77ddea7e3cf9a219650fe322c
gpio: mb86s7x: Enable ACPI support

Make the mb86s7x GPIO block discoverable via ACPI. In addition, add
support for ACPI GPIO interrupts routed via platform interrupts, by
wiring the two together via the to_irq() gpiochip callback.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/gpio/gpio-mb86s7x.c