Devicetree
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Charles Perry <charles.perry@microchip.com>
Cc: 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>,
	Romain Caritey <romain.caritey@microchip.com>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc
Date: Tue, 1 Dec 2026 18:13:23 +0000	[thread overview]
Message-ID: <20261201-civil-scrap-ac3460e2623c@spud> (raw)
In-Reply-To: <20261201-linux-7-4-rc4-pic64hpsc-nvm-intc-v1-1-e87ed786dc1b@microchip.com>

[-- Attachment #1: Type: text/plain, Size: 2863 bytes --]

On Tue, Dec 01, 2026 at 11:06:26AM -0500, Charles Perry wrote:
> 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"

Is this block actually unclocked? Otherwise, it seems fine to me.

Cheers,
Conor.

> +
> +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
> 
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-12-01 18:13 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 ` [PATCH 1/2] dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc Charles Perry
2026-12-01 18:13   ` Conor Dooley [this message]
2026-12-01 16:06 ` [PATCH 2/2] irqchip: Add Microchip PIC64-HPSC/HX NVM interrupt controller Charles Perry
2026-12-01 16:21   ` sashiko-bot

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-civil-scrap-ac3460e2623c@spud \
    --to=conor@kernel.org \
    --cc=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