From: sashiko-bot@kernel.org
To: "Ghennadi Procopciuc" <ghennadi.procopciuc@oss.nxp.com>
Cc: imx@lists.linux.dev, devicetree@vger.kernel.org, robh@kernel.org,
conor+dt@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH 1/6] dt-bindings: interrupt-controller: Add NXP S32N79 MRU MSI controller
Date: Fri, 04 Dec 2026 13:21:17 +0000 [thread overview]
Message-ID: <sashiko-outbox-249852@kernel.org> (raw)
In-Reply-To: <20261204-b4-s32n79-mru-msi-v1-1-e66f9b0dfa79@oss.nxp.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] dt-bindings: grouping independent MRU instances encodes OS
MSI-domain limit
- [Low] dt-bindings: nxp,s32n79-mru-msi: non-canonical property order in
example
--
commit f6243ae11f12c6552a692bda81a7f63a3e9dcb26
Author: Ghennadi Procopciuc <ghennadi.procopciuc@oss.nxp.com>
dt-bindings: interrupt-controller: Add NXP S32N79 MRU MSI controller
This commit adds a Devicetree binding schema for using NXP S32N79 Message
Receive Unit (MRU) instances as an MSI controller.
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/nxp,s32n79-mru-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/nxp,s32n79-mru-msi.yaml
> new file mode 100644
> index 0000000000000..a24dbe1bbd93e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/interrupt-controller/nxp,s32n79-mru-msi.yaml
[ ... ]
> + reg:
> + minItems: 1
> + maxItems: 32
> + description:
> + Register space of each MRU instance, covering the channel control page
> + and the mailbox pages.
> +
> + interrupts:
> + minItems: 1
> + maxItems: 32
> + description:
> + SPI of each MRU instance, in the same order as the reg entries.
[Severity: Medium]
Should each MRU instance be its own DT node rather than packing up to 32
independent instances into parallel reg and interrupts arrays?
Each MRU is an independent mailbox block with its own MMIO region and SPI,
and the example merges instances 16 MiB apart. Grouping them works around
of_check_msi_parent() only parsing index 0 of msi-parent, whereas
writing-bindings.rst says bindings should describe hardware, not OS limits.
Encoding that limitation into the DT ABI prevents describing per-instance
resources such as clocks, power-domains, or resets, and forces rewriting
the reg and interrupts arrays when reassigning an MRU. Modeling one
instance per node (like fsl,mu-msi.yaml) lets the driver aggregate them.
[ ... ]
> + msi-controller@40a40000 {
> + compatible = "nxp,s32n79-mru-msi";
> + msi-controller;
> + #msi-cells = <0>;
> + reg = <0x40a40000 0x40000>,
> + <0x40a80000 0x40000>,
> + <0x40ac0000 0x40000>,
> + <0x40b00000 0x40000>,
> + <0x41a40000 0x40000>,
> + <0x41a80000 0x40000>,
> + <0x41ac0000 0x40000>,
> + <0x41b00000 0x40000>;
> + interrupts = <GIC_SPI 705 IRQ_TYPE_LEVEL_HIGH>,
[Severity: Low]
This example places msi-controller and #msi-cells before reg and interrupts.
Per Documentation/devicetree/bindings/dts-coding-style.rst, reg should follow
compatible, then interrupts, then msi-controller and #msi-cells, matching the
order already used in the schema's properties and required lists.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-b4-s32n79-mru-msi-v1-0-e66f9b0dfa79@oss.nxp.com?part=1
next prev parent reply other threads:[~2026-12-04 13:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 12:56 [PATCH 0/6] irqchip: Add NXP S32N79 MRU MSI controller Ghennadi Procopciuc via B4 Relay
2026-12-04 12:56 ` [PATCH 1/6] dt-bindings: interrupt-controller: " Ghennadi Procopciuc via B4 Relay
2026-12-04 13:21 ` sashiko-bot [this message]
2026-12-04 12:56 ` [PATCH 2/6] irqchip: Add NXP S32N79 MRU MSI controller driver Ghennadi Procopciuc via B4 Relay
2026-12-04 13:56 ` sashiko-bot
2026-12-04 17:51 ` Frank Li
2026-12-04 19:26 ` Thomas Gleixner
2026-12-04 12:56 ` [PATCH 3/6] MAINTAINERS: Add entry for " Ghennadi Procopciuc via B4 Relay
2026-12-04 12:56 ` [PATCH 4/6] arm64: dts: s32n79: add MRU MSI controller node Ghennadi Procopciuc via B4 Relay
2026-12-04 14:04 ` sashiko-bot
2026-12-04 12:56 ` [PATCH 5/6] arm64: dts: s32n79-rdb: enable the MRU MSI controller Ghennadi Procopciuc via B4 Relay
2026-12-04 12:56 ` [PATCH 6/6] arm64: dts: s32n79: route the NETC IEP18 MSIs to the MRU Ghennadi Procopciuc via B4 Relay
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-249852@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=ghennadi.procopciuc@oss.nxp.com \
--cc=imx@lists.linux.dev \
--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