Skip to content

PINT irqchip driver for NXP LPC18xx family

Joachim Eastwood linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- use irq_gc_ack_set_bit for edge ack
- switch to generic functions on level mask/unmask
- use revmap to look up hwirq in handler
- describe the interrupts property better in dt doc

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2irqchip: add lpc18xx gpio pin interrupt driverdrivers/irqchip/Kconfig drivers/irqchip/Makefile drivers/irqchip/irq-lpc18xx-gpio-pint.c+225 -02 replies
2/2devicetree: document NXP LPC1850 PINT irq controller bindingDocumentation/devicetree/bindings/interrupt-controller/nxp,lpc1850-gpio-pint.txt+26 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] PINT irqchip driver for NXP LPC18xx family

The LPC1850 has no less than 3 GPIO interrupt blocks. One of these blocks is called 'gpio pin interrupt' or just PINT. LPC1850 PINT can handle up to 8 interrupts and these have a one-to-one relationship with the main interrupt controller (NVIC).

The interrupts on PINT can be either level or edge trigger and supports any polarity. This patch set adds a irqchip driver for PINT on LPC18xx.

This version address the comments from Thomas and Rob.

Changes since v1:
- use irq_gc_ack_set_bit for edge ack
- switch to generic functions on level mask/unmask
- use revmap to look up hwirq in handler
- describe the interrupts property better in dt doc

Joachim Eastwood (2):
irqchip: add lpc18xx gpio pin interrupt driver
devicetree: document NXP LPC1850 PINT irq controller binding

 .../interrupt-controller/nxp,lpc1850-gpio-pint.txt |  26 +++
 drivers/irqchip/Kconfig                            |   5 +
 drivers/irqchip/Makefile                           |   1 +
 drivers/irqchip/irq-lpc18xx-gpio-pint.c            | 219 +++++++++++++++++++++
 4 files changed, 251 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/nxp,lpc1850-gpio-pint.txt
 create mode 100644 drivers/irqchip/irq-lpc18xx-gpio-pint.c
Signature · 1 line
2.8.0