From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796322700; b=zqMn+t/5f75Iom9XTo14Bv+anP8gCkCyYcSEkhRmXtmRRXE3m82yGXrPSFRDxfRif7AR dbPhDRXGrW1Lryhx0ccHHbZL9rglwrsiszE/YS6CQYjAuFELq7m05jawMsa6G6QMeP77W myWEqEdQt0EWtyg+s0/2Q3N3Cx4qKHMrRtlrGegKz0c3izkcVypGaFpPbdLw6M6FPkuEe lRDS7jOVHZU1pNitGEfQGiXYp2saG0/TUpe/N2IosSLJQth12kstbdWasS+2UoKfX8n2E SbEQNs2m3JmBMMzaWbMr06TrVT/HcK/JZRWw28M9TKnjKbNp+CCkV8yccuBc1RLwLQg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796322700; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=RK1tHf414CB2P/a779dXnW1ZAQO1CwoCe+q60RGIirw=; b=Jb55nkjK6dRySoynlwQIX1gwrLZp533olw3b2FNDbjNQ4V6uyCQxuI9/7L+KiDfxMLYG mH2wFlBlAB29knItr6dMU1bVKnjh5qkUoZt1ttvRIAajZJOrF+wUIJIJoXtREc5jZca57 dLgi1kdH2aHiDB1yEWq++QvPXBakyQ3ea97B60tgqMXASOrCQzCooU8WpwWbBITJ1hAH4 +q7x2sINHWLBZc4upCKKOiSr/crM/wErP4rYCN9DZxzBb8naQ318hNUpRhu7tUMDi8uYW WNpo9A3Z1rCjwfnTP6rJINbw+fOmBmeQEi3mGErHSvJoWZvbG1K0nOwLg9ioGDdxpfQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="T6/YGxrc"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD0AA606A322 for ; Thu, 3 Dec 2026 18:31:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T6/YGxrc Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C75F1F000C1; Thu, 3 Dec 2026 18:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796322700; bh=RK1tHf414CB2P/a779dXnW1ZAQO1CwoCe+q60RGIirw=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=T6/YGxrcrmmy4SbK5OZimxemMWNYK3V+v87+Xk8wbUFgjJfXZDAn3TfFa5rSerMzM bBxoRJGn2TdnCubhlyRkIphPT3IZf9EKyUTtnJONmTBCDcLgOdXtCZfS8EwDpzdqOS 0M/jqOq+OkUj0FT0qybrLJHVWN3GovweWbkhOH4sFTM9ZJlNbszP6csQbdcQ2bu79p QR3YOsXJg4C5xK2+SPU47NFR8Aqv63W5VoCasdf8/EihQR3rFtyguBZ2WzvmTX1hPV wvwr/b29yhfXENjOISzBEy6Lk7y3mjFLJrLhM4yZbL50hKWevXBeyFzNs78f6pGuxf sMCT6OGDHy6Lg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 1/4] dt-bindings: mailbox: Add AMD PL Mailbox IP Reply-To: sashiko-reviews@lists.linux.dev To: "Ben Levinsky" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203175731.661503-2-ben.levinsky@amd.com> References: <20261203175731.661503-1-ben.levinsky@amd.com> <20261203175731.661503-2-ben.levinsky@amd.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 18:31:40 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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 des= ign > + is synthesized, so instances in one design can differ, and it cann= ot > + 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 > + > + mailbox@b2060000 { > + compatible =3D "amd,pl-mailbox-2.1"; > + reg =3D <0xb2060000 0x10000>; > + interrupts =3D ; > + clocks =3D <&pl_clk>; > + amd,pl-mailbox-depth =3D <16>; > + #mbox-cells =3D <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. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203175731.6615= 03-1-ben.levinsky@amd.com?part=3D1