From: sashiko-bot@kernel.org
To: muhammad.nazim.amirul.nazle.asmade@altera.com
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 3/4] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible
Date: Wed, 09 Sep 2026 07:07:10 +0000 [thread overview]
Message-ID: <20260909070711.1EB8E1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260908070557.3585-4-muhammad.nazim.amirul.nazle.asmade@altera.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The conditional block applying Agilex5-specific constraints in the dt-binding was not updated to include the new `altr,socfpga-stmmac-agilex5-tsn` compatible string, leading to incorrect validation constraints.
--
commit b74ca4590795b8666403b95078f84d25977f7624
Author: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>
dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible
The Agilex5 SoCDK TSN Config2 gmac1 path includes an FPGA soft-IP
GMII-to-RGMII converter between the DWXGMAC and the PHY. The converter
provides the RGMII TX/RX delays and presents GMII toward the MAC, unlike
a plain altr,socfpga-stmmac-agilex5 port with no such converter.
> diff --git a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> index db93436c96fa6..9150504e922be 100644
> --- a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> +++ b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
[ ... ]
> @@ -44,7 +45,9 @@ properties:
> - const: snps,dwmac-3.74a
> - const: snps,dwmac
> - items:
> - - const: altr,socfpga-stmmac-agilex5
> + - enum:
> + - altr,socfpga-stmmac-agilex5
> + - altr,socfpga-stmmac-agilex5-tsn
> - const: snps,dwxgmac-2.10
>
> clocks:
[Severity: Medium]
Will this new compatible string cause incomplete schema validation for device
trees because it is missing from the conditional block?
Looking at the allOf conditional block later in the file:
- if:
properties:
compatible:
contains:
const: altr,socfpga-stmmac-agilex5
then:
properties:
interrupts:
minItems: 17
Should this block be updated to use an enum that matches both
altr,socfpga-stmmac-agilex5 and altr,socfpga-stmmac-agilex5-tsn so the correct
hardware constraints are applied?
Without this update, device trees for the TSN variant might fail validation
when they correctly have 17 interrupts, or pass validation when they
incorrectly have fewer.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260908070557.3585-1-muhammad.nazim.amirul.nazle.asmade@altera.com?part=3
next prev parent reply other threads:[~2026-09-09 7:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-08 7:05 [PATCH v6 0/4] Add Agilex5 SoCDK TSN Config2 board support muhammad.nazim.amirul.nazle.asmade
2026-09-08 7:05 ` [PATCH v6 1/4] dt-bindings: arm: altera: Add Agilex5 SoCDK TSN Config2 board muhammad.nazim.amirul.nazle.asmade
2026-09-08 7:05 ` [PATCH v6 2/4] arm64: dts: socfpga: agilex5: Add " muhammad.nazim.amirul.nazle.asmade
2026-09-08 7:05 ` [PATCH v6 3/4] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible muhammad.nazim.amirul.nazle.asmade
2026-09-09 7:07 ` sashiko-bot [this message]
2026-09-08 7:05 ` [PATCH net-next v6 4/4] net: stmmac: dwmac-socfpga: Add support for Agilex5 TSN GMAC with FPGA converter muhammad.nazim.amirul.nazle.asmade
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=20260909070711.1EB8E1F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=muhammad.nazim.amirul.nazle.asmade@altera.com \
--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