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

Joakim Zhang
2020-01-13T07:13:13Z

This patch set adds driver for NXP INTMUX interrupt controller.

ChangeLogs:
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 | 77 +++++
drivers/irqchip/Kconfig | 6 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-imx-intmux.c | 309 ++++++++++++++++++
4 files changed, 393 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
create mode 100644 drivers/irqchip/irq-imx-intmux.c

--
2.17.1