Skip to content

Add TI PRUSS Local Interrupt Controller IRQChip driver

Suman Anna linux-arm-kernel linux-devicetree linux-omap lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 11 repliesIn review
  2. v16 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: irqchip: Add PRUSS interrupt controller bindingsDocumentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.txt+98 -00 replies
2/6irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS interruptsdrivers/irqchip/Kconfig drivers/irqchip/Makefile drivers/irqchip/irq-pruss-intc.c+349 -02 replies
3/6irqchip/irq-pruss-intc: Add support for shared and invalid interruptsdrivers/irqchip/irq-pruss-intc.c+43 -10 replies
4/6irqchip/irq-pruss-intc: Add helper functions to configure internal mappingdrivers/irqchip/irq-pruss-intc.c include/linux/irqchip/irq-pruss-intc.h+320 -29 replies
5/6irqchip/irq-pruss-intc: Implement irq_{get,set}_irqchip_state opsdrivers/irqchip/irq-pruss-intc.c+39 -20 replies
6/6irqchip/irq-pruss-intc: Add support for ICSSG INTC on K3 SoCsdrivers/irqchip/Kconfig drivers/irqchip/irq-pruss-intc.c include/linux/irqchip/irq-pruss-intc.h+126 -610 replies

Reviews trailers per patch

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

PatchRob Herring
1/6R-b
2/6
3/6
4/6
5/6
6/6

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/6] Add TI PRUSS Local Interrupt Controller IRQChip driver

Hi All,

The following is a v2 version of the series [1] that adds an IRQChip driver for the local interrupt controller present within a Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS) present on a number of TI SoCs including OMAP architecture based AM335x, AM437x, AM57xx SoCs, Keystone 2 architecture based 66AK2G SoCs, Davinci architecture based OMAP-L138/DA850 SoCs and the latest K3 architecture based AM65x and J721E SoCs. Please see the v1 cover-letter [1] for details about the features of this interrupt controller. More details can be found in any of the supported SoC TRMs.
Eg: Chapter 30.1.6 of AM5728 TRM [2]

Please see the individual patches for exact changes in each patch, following are the main changes from v1:
- Dropped the pruss_intc_trigger() API and patch and replaced it with a new patch achieving the same through irq_set_irqchip_state() callback (patch 5)
- Added cleanup logic on INTC mapping fails and reset the mapping registers during unmap (patch 4)
- Minor revisions to the bindings, no new properties introduced (patch 1)

regards
Suman

[1] https://patchwork.kernel.org/cover/11034561/
[2] http://www.ti.com/lit/pdf/spruhz6

Andrew F. Davis (1):
irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS
interrupts

David Lechner (1):
irqchip/irq-pruss-intc: Implement irq_{get,set}_irqchip_state ops

Suman Anna (4):
dt-bindings: irqchip: Add PRUSS interrupt controller bindings irqchip/irq-pruss-intc: Add support for shared and invalid interrupts irqchip/irq-pruss-intc: Add helper functions to configure internal
mapping
irqchip/irq-pruss-intc: Add support for ICSSG INTC on K3 SoCs

 .../interrupt-controller/ti,pruss-intc.txt    |  98 +++
 drivers/irqchip/Kconfig                       |  10 +
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-pruss-intc.c              | 764 ++++++++++++++++++
 include/linux/irqchip/irq-pruss-intc.h        |  36 +
 5 files changed, 909 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.txt
 create mode 100644 drivers/irqchip/irq-pruss-intc.c
 create mode 100644 include/linux/irqchip/irq-pruss-intc.h
Signature · 1 line
2.22.0