Skip to content

Extend irqchip ocelot driver to support other SoCs

Gregory CLEMENT linux-arm-kernel linux-devicetree lkml 5 versions – Applied

Status from this message: Applied to irq/irqchip-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 3 repliesApplied
  2. v46 patches 3 repliesSuperseded
  3. v35 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches2 repliesSuperseded
v14 patches1 replySuperseded

Changes in v5 from the cover letter

- Fix yaml binding description by removing the tab and using space instead.

- Add acked-by from Alexandre on the patches 3 and 4.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: interrupt-controller: convert icpu intr bindings to json-schemaDocumentation/devicetree/bindings/interrupt-controller/mscc,ocelot-icpu-intr.txt Documentation/devicetree/bindings/interrupt-controller/mscc,ocelot-icpu-intr.yaml+60 -211 reply
2/6dt-bindings: interrupt-controller: Add binding for few Microsemi interrupt controllersDocumentation/devicetree/bindings/interrupt-controller/mscc,ocelot-icpu-intr.yaml+4 -01 reply
3/6irqchip: ocelot: prepare to support more SoCdrivers/irqchip/irq-mscc-ocelot.c+54 -220 replies
4/6irqchip: ocelot: Add support for Luton platformsdrivers/irqchip/irq-mscc-ocelot.c+34 -40 replies
5/6irqchip: ocelot: Add support for Serval platformsdrivers/irqchip/irq-mscc-ocelot.c+19 -00 replies
6/6irqchip: ocelot: Add support for Jaguar2 platformsdrivers/irqchip/irq-mscc-ocelot.c+19 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchAlexandre BelloniRob Herring
1/6R-b
2/6R-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

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

Read the v5 thread

Cover letter [PATCH v5 0/6] Extend irqchip ocelot driver to support other SoCs

Ocelot SoC belongs to a larger family of SoCs which use the same interrupt controller with a few variation.

This series of patches add support for Luton, Serval and Jaguar2, they are all MIPS based.

The first patches of the series also updates the binding documentation with the new compatible strings.

Gregory

Changelog:

v4 -> v5:

- Fix yaml binding description by removing the tab and using space instead.

- Add acked-by from Alexandre on the patches 3 and 4.

v3 -> v4
- Fix example in binding adding #address-cells property.

- Split the intial "irqchip: ocelot: Add support for Luton platforms" patch with a new patch "irqchip: ocelot: prepare to support more SoC"

- Move from u32 to u8 the type used inside the "struct chip_props"

- Keep the function ocelot_irq_unmask as is and use generic function irq_gc_mask_disable_reg and irq_gc_unmask_enable_reg for Luton.

- Removed the irq_set_irqchip_state callback, actually this function was never called on this platform and seemed in the end useless.

- Add acked-by from Alexandre on the last 2 patches.

v2 -> v3
- Fix new-line-at-end-of-file error in the yaml file

v1 -> v2:
- Convert the binding to yaml
- Squashed the patches adding new binding in a single one

Gregory CLEMENT (6):
dt-bindings: interrupt-controller: convert icpu intr bindings to
json-schema
dt-bindings: interrupt-controller: Add binding for few Microsemi
interrupt controllers
irqchip: ocelot: prepare to support more SoC
irqchip: ocelot: Add support for Luton platforms
irqchip: ocelot: Add support for Serval platforms
irqchip: ocelot: Add support for Jaguar2 platforms

 .../mscc,ocelot-icpu-intr.txt                 |  21 ---
 .../mscc,ocelot-icpu-intr.yaml                |  64 ++++++++
 drivers/irqchip/irq-mscc-ocelot.c             | 146 +++++++++++++++---
 3 files changed, 187 insertions(+), 44 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/mscc,ocelot-icpu-intr.txt
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mscc,ocelot-icpu-intr.yaml
Signature · 1 line
2.29.2