Hi, This series adds support for GPIO and GPIO IRQ mux available in the RZ/N1 SoCs. The first two patches of the series add support for GPIO (binding update and device-tree description). Other patches are related to GPIO interrupts and GPIO IRQ multiplexer. In the RZ/N1 SoCs, GPIO interrupts are wired to a GPIO IRQ multiplexer. This multiplexer does nothing but select 8 GPIO IRQ lines out of the 96 available to wire them to the GIC input lines. One upstreaming attempt have been done previously by Phil Edworthy [1] but the series has never been applied. Based on my understanding, I have fully reworked the driver proposed by Phil and removed the IRQ domain. Indeed, the device doesn't handle interrupts. It just routes signals. Also, as an interrupt-map property is used, the driver cannot be involved as an interrupt controller itself. It is a nexus node. With that in mind, patch 3 is related to the binding, patch 4 introduces an helper to parse the interrupt-map property. This parsing is needed by the driver. Indeed, the lines routing is defined by the interrupt-map property and the driver needs to set registers to apply this routing. The last two patches are the driver itself and the RZ/N1 device-tree description update to have the support for the GPIO interrupts. [1] https://lore.kernel.org/all/20190219155511.28507-1-phil.edworthy@xxxxxxxxxxx/ Best regards, Hervé Herve Codina (6): dt-bindings: gpio: snps,dw-apb: Add support for Renesas RZ/N1 ARM: dts: r9a06g032: Add GPIO controllers dt-bindings: soc: renesas: Add the Renesas RZ/N1 GPIO Interrupt Multiplexer of/irq: Introduce of_irq_foreach_imap soc: renesas: Add support for Renesas RZ/N1 GPIO Interrupt Multiplexer ARM: dts: r9a06g032: Add support for GPIO interrupts .../bindings/gpio/snps,dw-apb-gpio.yaml | 8 +- .../soc/renesas/renesas,rzn1-gpioirqmux.yaml | 99 ++++++++++ arch/arm/boot/dts/renesas/r9a06g032.dtsi | 172 ++++++++++++++++++ drivers/of/irq.c | 70 +++++++ drivers/soc/renesas/Kconfig | 4 + drivers/soc/renesas/Makefile | 1 + drivers/soc/renesas/rzn1_irqmux.c | 169 +++++++++++++++++ include/linux/of_irq.h | 11 ++ 8 files changed, 533 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/soc/renesas/renesas,rzn1-gpioirqmux.yaml create mode 100644 drivers/soc/renesas/rzn1_irqmux.c -- 2.50.1