Re: [RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-28 Thread Linus Walleij
On Fri, Jan 25, 2013 at 3:05 PM, Mathias Nyman wrote: > On 01/25/2013 02:54 PM, Linus Walleij wrote: >> Second: why is there no mirror function *releasing* all the IRQs again? >> One-way interface? > > My thinking was that using devm_request_threaded_irq(chip->dev, ...) will > automatically free

Re: [RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-28 Thread Linus Walleij
On Fri, Jan 25, 2013 at 3:05 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 01/25/2013 02:54 PM, Linus Walleij wrote: Second: why is there no mirror function *releasing* all the IRQs again? One-way interface? My thinking was that using devm_request_threaded_irq(chip-dev, ...) will

Re: [RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-25 Thread Mathias Nyman
On 01/25/2013 02:54 PM, Linus Walleij wrote: On Fri, Jan 25, 2013 at 12:48 PM, Mathias Nyman wrote: 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

Re: [RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-25 Thread Linus Walleij
On Fri, Jan 25, 2013 at 12:48 PM, Mathias Nyman wrote: > 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

Re: [RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-25 Thread Rafael J. Wysocki
On Friday, January 25, 2013 01:48:25 PM Mathias Nyman wrote: > 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

[RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-25 Thread Mathias Nyman
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

[RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-25 Thread Mathias Nyman
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

Re: [RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-25 Thread Rafael J. Wysocki
On Friday, January 25, 2013 01:48:25 PM Mathias Nyman wrote: 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

Re: [RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-25 Thread Linus Walleij
On Fri, Jan 25, 2013 at 12:48 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: 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

Re: [RFC PATCH] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-25 Thread Mathias Nyman
On 01/25/2013 02:54 PM, Linus Walleij wrote: On Fri, Jan 25, 2013 at 12:48 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: 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