mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Charles Perry <charles.perry@microchip.com>
To: Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>,
	"Rob Herring" <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>
Cc: Romain Caritey <romain.caritey@microchip.com>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	Charles Perry <charles.perry@microchip.com>
Subject: [PATCH 0/2] Add support for Microchip PIC64-HPSC/HX NVM interrupt controller
Date: Tue, 1 Dec 2026 11:06:25 -0500	[thread overview]
Message-ID: <20261201-linux-7-4-rc4-pic64hpsc-nvm-intc-v1-0-e87ed786dc1b@microchip.com> (raw)

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


             reply	other threads:[~2026-12-01 16:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 16:06 Charles Perry [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201-linux-7-4-rc4-pic64hpsc-nvm-intc-v1-0-e87ed786dc1b@microchip.com \
    --to=charles.perry@microchip.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=radu@rendec.net \
    --cc=robh@kernel.org \
    --cc=romain.caritey@microchip.com \
    --cc=tglx@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®