[PATCH V5 0/2] irqchip: add NXP INTMUX interrupt controller

From: Joakim Zhang
Date: Wed Jan 15 2020 - 00:09:26 EST


This patch set adds driver for NXP INTMUX interrupt controller.

ChangeLogs:
V4->V5:
*get number of channels by platform_irq_count() instead of
'fsl,intmux_chans' property
*update binding files and remove 'fsl,intmux_chans' property.

V3->V4:
*set IRQ_TYPE_LEVEL_HIGH flag in .xlate callback.
*fix comment format.
*use an intermediate variable for irq_domain_add_linear().
*disable interrupts before enabling chained interrupt.
*disable interrupt in imx_remove() for level interrupt.
*convert binding to DT schema.

V2->V3:
*impletement .xlate and .select callback.

V1->V2:
*squash patches:
drivers/irqchip: enable INTMUX interrupt controller driver
drivers/irqchip: add NXP INTMUX interrupt multiplexer support
*remove properity "fsl,intmux_chans", only support channel 0 by
default.
*delete two unused macros.
*align the various field in struct intmux_data.
*turn to spin lock _irqsave version.
*delete struct intmux_irqchip_data.
*disable interrupt in probe stage and clear pending status in remove
stage.

Joakim Zhang (2):
dt-bindings/irq: add binding for NXP INTMUX interrupt multiplexer
drivers/irqchip: add NXP INTMUX interrupt multiplexer support

.../interrupt-controller/fsl,intmux.yaml | 67 ++++
drivers/irqchip/Kconfig | 6 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-imx-intmux.c | 309 ++++++++++++++++++
4 files changed, 383 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
create mode 100644 drivers/irqchip/irq-imx-intmux.c

--
2.17.1