On RZ/N1 devices, there are 3 Synopsys DesignWare GPIO blocks eachconfigured to have 32 interrupt outputs, so we have a total of 96 GPIOinterrupts. All of these are passed to the GPIO IRQ Muxer, which selects8 of the GPIO interrupts to pass onto the GIC. The interrupt signalsaren't latched, so there is nothing to do in this driver when an interruptis received, other than tell the corresponding GPIO block.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>---v4: - No change.v3: - Use 'interrupt-map' DT property to map the interrupts, this is very similar to PCIe MSI. The only difference is that we need to get hold of the interrupt specifier for the interupts coming into the irqmux. - Do not use a chained interrupt controller.v2: - Use interrupt-map to allow the GPIO controller info to be specified as part of the irq. - Renamed struct and funcs from 'girq' to a more comprehenisble 'irqmux'.--- drivers/irqchip/Kconfig | 9 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/rzn1-irq-mux.c | 205 +++++++++++++++++++++++++++++++++ 3 files changed, 215 insertions(+) create mode 100644 drivers/irqchip/rzn1-irq-mux.c