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 1/2] dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc
Date: Tue, 1 Dec 2026 11:06:26 -0500	[thread overview]
Message-ID: <20261201-linux-7-4-rc4-pic64hpsc-nvm-intc-v1-1-e87ed786dc1b@microchip.com> (raw)
In-Reply-To: <20261201-linux-7-4-rc4-pic64hpsc-nvm-intc-v1-0-e87ed786dc1b@microchip.com>

Microchip PIC64-HPSC features 4 NVM subsystems, each composed of a NAND,
xSPI and pflash controller. PIC64-HX features 2 NVM subsystems, each
composed of the same controllers as for PIC64-HPSC, with the addition of an
eMMC/SD controller.

For each of these SoCs, the interrupts of each of the NAND, xSPI and
eMMC/SD controllers go through a local NVM interrupt controller which then
connects to the APLIC.

Document PIC64-HPSC/HX NVM interrupt controller.

Signed-off-by: Charles Perry <charles.perry@microchip.com>
---
 .../microchip,pic64hpsc-nvm-intc.yaml              | 59 ++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/microchip,pic64hpsc-nvm-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/microchip,pic64hpsc-nvm-intc.yaml
new file mode 100644
index 000000000000..3c5241a6724f
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/microchip,pic64hpsc-nvm-intc.yaml
@@ -0,0 +1,59 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/interrupt-controller/microchip,pic64hpsc-nvm-intc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Microchip PIC64-HPSC/HX NVM interrupt controller
+
+maintainers:
+  - Charles Perry <charles.perry@microchip.com>
+
+description:
+  The PIC64-HPSC/HX NVM interrupt controller is an on-chip controller that
+  aggregates interrupts from the xSPI, NAND and eMMC/SD controllers.
+
+properties:
+  compatible:
+    oneOf:
+      - const: microchip,pic64hpsc-nvm-intc
+      - items:
+          - const: microchip,pic64hx-nvm-intc
+          - const: microchip,pic64hpsc-nvm-intc
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  interrupt-controller: true
+
+  "#interrupt-cells":
+    const: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - interrupt-controller
+  - "#interrupt-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+
+    bus {
+        #address-cells = <2>;
+        #size-cells = <2>;
+
+        nvm_intc: interrupt-controller@4001c020000 {
+            compatible = "microchip,pic64hpsc-nvm-intc";
+            reg = <0x400 0x1c020000 0x0 0x518>;
+            interrupts = <80 IRQ_TYPE_LEVEL_HIGH>;
+            interrupt-controller;
+            #interrupt-cells = <1>;
+        };
+    };

-- 
2.53.0


  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 [PATCH 0/2] Add support for Microchip PIC64-HPSC/HX NVM interrupt controller Charles Perry
2026-12-01 16:06 ` Charles Perry [this message]
2026-12-01 18:13   ` [PATCH 1/2] dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc 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-1-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®