From: sashiko-bot@kernel.org
To: "Ben Levinsky" <ben.levinsky@amd.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 1/4] dt-bindings: mailbox: Add AMD PL Mailbox IP
Date: Thu, 03 Dec 2026 18:31:40 +0000 [thread overview]
Message-ID: <sashiko-outbox-248395@kernel.org> (raw)
In-Reply-To: <20261203175731.661503-2-ben.levinsky@amd.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: mailbox: wrong property order in
amd,pl-mailbox-2.1.yaml
--
commit 27c90e3ebce2af1d58549ad835b37ee5b01c11dd
Author: Ben Levinsky <ben.levinsky@amd.com>
dt-bindings: mailbox: Add AMD PL Mailbox IP
This commit adds a Device Tree binding schema for the AMD Programmable
Logic Mailbox soft IP core and adds a MAINTAINERS entry for it.
> diff --git a/Documentation/devicetree/bindings/mailbox/amd,pl-mailbox-2.1.yaml b/Documentation/devicetree/bindings/mailbox/amd,pl-mailbox-2.1.yaml
> new file mode 100644
> index 0000000000000..50ac14a4cbac9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mailbox/amd,pl-mailbox-2.1.yaml
> @@ -0,0 +1,71 @@
[ ... ]
> +properties:
> + compatible:
> + const: amd,pl-mailbox-2.1
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> +
> + amd,pl-mailbox-depth:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + minimum: 16
> + maximum: 8192
> + default: 16
> + description:
> + Depth of the send and receive FIFOs in 32-bit words. The depth is the
> + C_MAILBOX_DEPTH parameter chosen for each IP instance when the design
> + is synthesized, so instances in one design can differ, and it cannot
> + be read from the registers. Must match the synthesized depth.
> +
> + '#mbox-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - clocks
> + - '#mbox-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + mailbox@b2060000 {
> + compatible = "amd,pl-mailbox-2.1";
> + reg = <0xb2060000 0x10000>;
> + interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&pl_clk>;
> + amd,pl-mailbox-depth = <16>;
> + #mbox-cells = <1>;
> + };
[Severity: Low]
Should the entries in properties, required, and the example node follow the
canonical DT binding order?
Per Documentation/devicetree/bindings/dts-coding-style.rst and
writing-schema.rst, clocks should be listed before interrupts, and standard
properties like #mbox-cells before vendor-specific properties like
amd,pl-mailbox-depth. Ordering all three sections as compatible, reg,
clocks, interrupts, #mbox-cells, amd,pl-mailbox-depth (omitting the optional
amd,pl-mailbox-depth from required) would match the tree-wide convention.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203175731.661503-1-ben.levinsky@amd.com?part=1
next prev parent reply other threads:[~2026-12-03 18:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 17:57 [PATCH v4 0/4] Add AMD PL Mailbox and RPMsg support for the AMD BRAM remoteproc Ben Levinsky
2026-12-03 17:57 ` [PATCH v4 1/4] dt-bindings: mailbox: Add AMD PL Mailbox IP Ben Levinsky
2026-12-03 18:31 ` sashiko-bot [this message]
2026-12-03 17:57 ` [PATCH v4 2/4] mailbox: Add AMD PL Mailbox soft IP controller Ben Levinsky
2026-12-03 18:55 ` sashiko-bot
2026-12-03 17:57 ` [PATCH v4 3/4] dt-bindings: remoteproc: Add RPMsg resources to AMD BRAM rproc Ben Levinsky
2026-12-03 17:57 ` [PATCH v4 4/4] remoteproc: amd_mbv_bram: Add RPMsg support Ben Levinsky
2026-12-03 19:28 ` 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-248395@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=ben.levinsky@amd.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.