From: sashiko-bot@kernel.org
To: "Tim Michals" <tcmichals@gmail.com>
Cc: linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 1/7] dt-bindings: mailbox: Add Allwinner A523 message box
Date: Sun, 01 Nov 2026 19:06:22 +0000 [thread overview]
Message-ID: <sashiko-outbox-192575@kernel.org> (raw)
In-Reply-To: <20261101185735.762559-2-tcmichals@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: mailbox: sun55i-a523: allwinner,tx-done-irq encodes driver policy
--
commit 84f2f43ac2a1769e84ee3a5f62703aa7b08889d3
Author: Tim Michals <tcmichals@gmail.com>
dt-bindings: mailbox: Add Allwinner A523 message box
This commit adds the Devicetree binding schema for the Allwinner A523, A527,
and T527 (sun55i) message box controller, describing the four processor
register banks, clocks, resets, interrupts, and an optional
allwinner,tx-done-irq property.
> diff --git a/Documentation/devicetree/bindings/mailbox/allwinner,sun55i-a523-msgbox.yaml b/Documentation/devicetree/bindings/mailbox/allwinner,sun55i-a523-msgbox.yaml
> new file mode 100644
> index 0000000000000..47b6fe304dbc8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mailbox/allwinner,sun55i-a523-msgbox.yaml
[ ... ]
> + interrupts:
> + items:
> + - description: Cortex-A55 bank read interrupt, messages for the host
> + - description: HiFi4 DSP bank write interrupt for the host
> + - description: CPUS bank write interrupt for the host
> + - description: XuanTie RISC-V bank write interrupt for the host
> +
> + interrupt-names:
> + items:
> + - const: arm
> + - const: dsp
> + - const: cpus
> + - const: rv
> +
> + allwinner,tx-done-irq:
> + type: boolean
> + description:
> + Signal TX done with the write interrupt of the receiver's bank instead
> + of polling. A message is done once the receiver's FIFO has room for the
> + next one either way; the write interrupt is raised while the FIFO has
> + room. Without this property a full FIFO is polled. Received messages
> + use the host bank read interrupt either way.
[Severity: Medium]
Since the schema unconditionally requires all four hardware interrupt lines
(arm, dsp, cpus, and rv) in interrupts and interrupt-names, and every A523
SoC wires the three remote bank write interrupts to the GIC, this boolean
property appears to only select between interrupt-driven and polled TX
completion in the driver rather than describing a hardware difference.
Given that Devicetree bindings should describe hardware capabilities and
wiring rather than OS driver runtime policy, should allwinner,tx-done-irq be
dropped from the binding so the driver decides how to handle TX completion?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261101185735.762559-1-tcmichals@gmail.com?part=1
next prev parent reply other threads:[~2026-11-01 19:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 18:57 [PATCH v3 0/7] Add Allwinner A523 message box and XuanTie E906 remoteproc support Tim Michals
2026-11-01 18:57 ` [PATCH v3 1/7] dt-bindings: mailbox: Add Allwinner A523 message box Tim Michals
2026-11-01 19:06 ` sashiko-bot [this message]
2026-11-01 18:57 ` [PATCH v3 2/7] mailbox: sun55i: Add Allwinner A523 message box driver Tim Michals
2026-11-01 19:17 ` sashiko-bot
2026-11-01 18:57 ` [PATCH v3 3/7] dt-bindings: remoteproc: Add Allwinner A523 RISC-V remote processor Tim Michals
2026-11-01 18:57 ` [PATCH v3 4/7] remoteproc: sunxi: Add Allwinner A523 XuanTie E906 driver Tim Michals
2026-11-01 19:24 ` sashiko-bot
2026-11-01 18:57 ` [PATCH v3 5/7] arm64: dts: allwinner: a523: Add message box and remoteproc nodes Tim Michals
2026-11-01 18:57 ` [PATCH v3 6/7] mailbox: sun55i: Add KUnit tests Tim Michals
2026-11-01 18:57 ` [PATCH v3 7/7] remoteproc: sunxi: " Tim Michals
2026-11-01 19:13 ` 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=sashiko-outbox-192575@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=tcmichals@gmail.com \
/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