The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/2] Add support for Microchip PIC64-HPSC/HX NVM interrupt controller
@ 2026-12-01 16:06 Charles Perry
  2026-12-01 16:06 ` [PATCH 1/2] dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc Charles Perry
  2026-12-01 16:06 ` [PATCH 2/2] irqchip: Add Microchip PIC64-HPSC/HX NVM interrupt controller Charles Perry
  0 siblings, 2 replies; 5+ messages in thread
From: Charles Perry @ 2026-12-01 16:06 UTC (permalink / raw)
  To: Thomas Gleixner, Radu Rendec, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Romain Caritey, linux-kernel, devicetree, Charles Perry

Hello,

This series add support for a small wired interrupt controller present in
PIC64-HPSC/HX SoCs [1]

Microchip PIC64-HPSC has 4 NVM subsystems. Each one has a NAND, an xSPI
and a pflash controller. PIC64-HX has 2 NVM subsystems with the same
controllers, plus an eMMC/SD controller.

On both SoCs, the interrupts from the NAND, xSPI and eMMC/SD controllers
in a subsystem do not go straight to the APLIC. They go through a small
interrupt controller local to that NVM subsystem, which then signals the
APLIC.

All source interrupts in a subsystem share a single APLIC line, so their
affinity cannot be set individually. The driver therefore registers a
regular IRQ handler rather than a chained handler. This lets userspace set
the affinity of the parent NVM interrupt, which then applies to all the
sources behind it.

[1]: https://www.microchip.com/en-us/products/microprocessors/64-bit-mpus

Signed-off-by: Charles Perry <charles.perry@microchip.com>
---
Charles Perry (1):
      dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc

Romain Caritey (1):
      irqchip: Add Microchip PIC64-HPSC/HX NVM interrupt controller

 .../microchip,pic64hpsc-nvm-intc.yaml              |  59 ++++++
 MAINTAINERS                                        |   2 +
 drivers/irqchip/Kconfig                            |   8 +
 drivers/irqchip/Makefile                           |   1 +
 drivers/irqchip/irq-mchp-pic64hpsc-nvm-intc.c      | 226 +++++++++++++++++++++
 5 files changed, 296 insertions(+)
---
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
change-id: 20261127-linux-7-4-rc4-pic64hpsc-nvm-intc-2fb4f2ab7673

Best regards,
--  
Thanks,
Charles


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

end of thread, other threads:[~2026-12-01 19:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 16:06 [PATCH 0/2] Add support for Microchip PIC64-HPSC/HX NVM interrupt controller Charles Perry
2026-12-01 16:06 ` [PATCH 1/2] dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc Charles Perry
2026-12-01 18:13   ` Conor Dooley
2026-12-01 16:06 ` [PATCH 2/2] irqchip: Add Microchip PIC64-HPSC/HX NVM interrupt controller Charles Perry
2026-12-01 19:31   ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox