gpiolib-acpi: Add ACPI5 event model support to gpio.
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 28 Jan 2013 14:23:10 +0000 (16:23 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 29 Jan 2013 10:47:06 +0000 (11:47 +0100)
Add ability to handle ACPI events signalled by GPIO interrupts.

ACPI5 platforms can use GPIO signaled ACPI events. These GPIO interrupts are
handled by ACPI event methods which need to be called from the GPIO
controller's interrupt handler. acpi_gpio_request_interrupt() finds out which
gpio pins have acpi event methods and assigns interrupt handlers that calls
the acpi event methods for those pins.

Partially based on work by Rui Zhang <rui.zhang@intel.com>

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found