linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] ARM: mstar: msc313 intc driver
@ 2020-07-30 13:00 Daniel Palmer
  2020-07-30 13:00 ` [RFC PATCH 1/3] dt: bindings: interrupt-controller: Add binding description for msc313-intc Daniel Palmer
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Daniel Palmer @ 2020-07-30 13:00 UTC (permalink / raw)
  To: soc; +Cc: linux-kernel, devicetree, linux, w, Daniel Palmer

This is the first driver for the MStar/SigmaStar chips.

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.

RFC because this is my first interrupt controller driver
and I expect to have made a bunch of mistakes.

Daniel Palmer (3):
  dt: bindings: interrupt-controller: Add binding description for
    msc313-intc
  ARM: 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             | 222 ++++++++++++++++++
 5 files changed, 324 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mstar,msc313-intc.yaml
 create mode 100644 drivers/irqchip/irq-msc313-intc.c

-- 
2.27.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-21 19:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30 13:00 [RFC PATCH 0/3] ARM: mstar: msc313 intc driver Daniel Palmer
2020-07-30 13:00 ` [RFC PATCH 1/3] dt: bindings: interrupt-controller: Add binding description for msc313-intc Daniel Palmer
2020-07-31 18:21   ` Rob Herring
2020-07-31 18:23   ` Rob Herring
2020-07-30 13:00 ` [RFC PATCH 2/3] ARM: mstar: msc313-intc interrupt controller driver Daniel Palmer
2020-08-21 18:46   ` Olof Johansson
2020-07-30 13:00 ` [RFC PATCH 3/3] ARM: mstar: Add interrupt controller to base dtsi Daniel Palmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).