Skip to content

irqchip: mstar: msc313 intc driver

Daniel Palmer linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt: bindings: interrupt-controller: Add binding description for msc313-intcDocumentation/devicetree/bindings/interrupt-controller/mstar,msc313-intc.yaml MAINTAINERS+80 -03 replies
2/3irqchip: mstar: msc313-intc interrupt controller driverMAINTAINERS drivers/irqchip/Makefile drivers/irqchip/irq-msc313-intc.c+212 -03 replies
3/3ARM: mstar: Add interrupt controller to base dtsiarch/arm/boot/dts/mstar-v7.dtsi+20 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchWilly Tarreau
1/3
2/3T-b
3/3T-b

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

Read the v1 thread

Cover letter [PATCH 0/3] irqchip: mstar: msc313 intc driver

This driver adds support for the interrupt controllers present between the various IP blocks and the ARM GIC in MStar/SigmaStar Armv7 SoCs.

All of the chips so far have two instances of this controller.

One instance controls what are called "IRQ" interrupts by the vendor code I have seen.

The other instance controls what are called "FIQ" interrupts by the vendor code. Presumably because they can be FIQ interrupts. Right now the FIQ bypass is disabled in the GIC so they operate just the same as the IRQ interrupts.

The register layouts are the same for both. The FIQ one needs to have the status bit cleared on EOI so that difference is handled by a compatible string difference.

I initially made this an RFC because this is my first interrupt controller driver and I expect to have made a bunch of mistakes. I've cleaned this up a bit since then but I still expect it's not 100% correct. Especially the offset to map the INTC interrupt to the GIC interrupt.

Daniel Palmer (3):
dt: bindings: interrupt-controller: Add binding description for

    msc313-intc

irqchip: mstar: msc313-intc interrupt controller driver
ARM: mstar: Add interrupt controller to base dtsi

 .../mstar,msc313-intc.yaml                    |  79 +++++++
 MAINTAINERS                                   |   2 +
 arch/arm/boot/dts/mstar-v7.dtsi               |  20 ++
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-msc313-intc.c             | 210 ++++++++++++++++++
 5 files changed, 312 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mstar,msc313-intc.yaml
 create mode 100644 drivers/irqchip/irq-msc313-intc.c
Signature · 7 lines
2.27.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel