Thread (5 messages) 5 messages, 4 authors, 2018-05-09

Re: [PATCH v5] gpio: dwapb: Add support for 1 interrupt per port A GPIO

From: Linus Walleij <hidden>
Date: 2018-05-02 10:12:55
Also in: linux-gpio, linux-renesas-soc, lkml

On Thu, Apr 26, 2018 at 6:19 PM, Phil Edworthy
[off-list ref] wrote:
The DesignWare GPIO IP can be configured for either 1 interrupt or 1
per GPIO in port A, but the driver currently only supports 1 interrupt.
See the DesignWare DW_apb_gpio Databook description of the
'GPIO_INTR_IO' parameter.

This change allows the driver to work with up to 32 interrupts, it will
get as many interrupts as specified in the DT 'interrupts' property.
It doesn't do anything clever with the different interrupts, it just calls
the same handler used for single interrupt hardware.

ACPI companion code provided by Hoan Tran [off-list ref]. This was tested
on X-Gene by Hoan.

Signed-off-by: Phil Edworthy <redacted>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Lee Jones <redacted>
Patch applied for v4.18 with Hoan's ACK.

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