From: sashiko-bot@kernel.org
To: "Charles Perry" <charles.perry@microchip.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc
Date: Thu, 03 Dec 2026 18:43:50 +0000 [thread overview]
Message-ID: <sashiko-outbox-248412@kernel.org> (raw)
In-Reply-To: <20261203-linux-7-4-rc4-pic64hpsc-nvm-intc-v2-1-a2621f8147bd@microchip.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] dt-bindings: interrupt-controller: missing clocks in required
and example
- [Low] dt-bindings: interrupt-controller: unused nvm_intc label in YAML
example
--
commit 9e5f8ce0d4261ff7f3496819912818d0d71a85de
Author: Charles Perry <charles.perry@microchip.com>
dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc
This commit adds a devicetree binding schema for the Microchip PIC64-HPSC
and PIC64-HX NVM interrupt controller.
> 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 0000000000000..ca3e2a6a2491f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/interrupt-controller/microchip,pic64hpsc-nvm-intc.yaml
> @@ -0,0 +1,62 @@
[ ... ]
> + clocks:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + interrupt-controller: true
> +
> + "#interrupt-cells":
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - interrupt-controller
> + - "#interrupt-cells"
[Severity: Medium]
As reported by Conor Dooley on v1 [1], should clocks also be listed under
required and included in the example node?
This is a new binding for clocked SoC blocks with no legacy devicetrees,
so leaving clocks optional lets DTS nodes omit their input clock without
failing dtbs_check and leaves the property untested by dt_binding_check.
Adding clocks between reg and interrupts in both places fixes both.
[ ... ]
> + 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>;
> + };
[Severity: Low]
Can the nvm_intc label be dropped here? It is not referenced anywhere in
the example, which writing-schema.rst advises against and strict
scripts/dtc/dt-check-style flags as an unused label.
[1] https://lore.kernel.org/r/20261201-civil-scrap-ac3460e2623c@spud
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-linux-7-4-rc4-pic64hpsc-nvm-intc-v2-0-a2621f8147bd@microchip.com?part=1
next prev parent reply other threads:[~2026-12-03 18:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 18:15 [PATCH v2 0/2] Add support for Microchip PIC64-HPSC/HX NVM interrupt controller Charles Perry
2026-12-03 18:15 ` [PATCH v2 1/2] dt-bindings: interrupt-controller: document Microchip PIC64-HPSC/HX NVM intc Charles Perry
2026-12-03 18:43 ` sashiko-bot [this message]
2026-12-03 18:15 ` [PATCH v2 2/2] irqchip: Add Microchip PIC64-HPSC/HX NVM interrupt controller Charles Perry
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=sashiko-outbox-248412@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=charles.perry@microchip.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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