[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1579064664-16452-1-git-send-email-qiangqing.zhang@nxp.com>
Date: Wed, 15 Jan 2020 13:04:22 +0800
From: Joakim Zhang <qiangqing.zhang@....com>
To: maz@...nel.org, jason@...edaemon.net, tglx@...utronix.de,
robh+dt@...nel.org, mark.rutland@....com, shawnguo@...nel.org,
s.hauer@...gutronix.de
Cc: kernel@...gutronix.de, festevam@...il.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-imx@....com,
fugang.duan@....com, Joakim Zhang <qiangqing.zhang@....com>
Subject: [PATCH V5 0/2] irqchip: add NXP INTMUX interrupt controller
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
Powered by blists - more mailing lists