From: sashiko-bot@kernel.org
To: muhammad.nazim.amirul.nazle.asmade@altera.com
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH net-next 1/2] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible
Date: Thu, 24 Sep 2026 02:18:44 +0000 [thread overview]
Message-ID: <20260924021844.89D2A1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260923021823.46649-2-muhammad.nazim.amirul.nazle.asmade@altera.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: missing agilex5-tsn compatible in allOf constraints
--
commit da393d02e6d50cb4f0bb95604f9b3890a2fc868b
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 d8f90d36d2469..ca768937d8905 100644
> --- a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> +++ b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
[ ... ]
> @@ -42,7 +43,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]
Since this adds a new Agilex5 compatible string, should it also be included
in the allOf conditional block further down in the file?
Currently, the schema in this file enforces Agilex5 constraints:
allOf:
- if:
properties:
compatible:
contains:
const: altr,socfpga-stmmac-agilex5
then:
properties:
interrupts:
minItems: 17
dma-coherent: true
else:
properties:
interrupts:
maxItems: 1
dma-coherent: false
Without adding the new TSN compatible to this if condition, nodes using it
will incorrectly fall into the legacy else branch, restricting them to 1
interrupt and disabling dma-coherent.
Does this new hardware variant share the 17 interrupts and dma-coherent
constraints of the base Agilex5?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260923021823.46649-1-muhammad.nazim.amirul.nazle.asmade@altera.com?part=1
next prev parent reply other threads:[~2026-09-24 2:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 2:18 [PATCH net-next 0/2] net: stmmac: dwmac-socfpga: Add Agilex5 TSN GMAC support muhammad.nazim.amirul.nazle.asmade
2026-09-23 2:18 ` [PATCH net-next 1/2] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible muhammad.nazim.amirul.nazle.asmade
2026-09-23 8:27 ` Krzysztof Kozlowski
2026-09-24 2:18 ` sashiko-bot [this message]
2026-09-27 3:28 ` netdev-bot+sashiko
2026-09-23 2:18 ` [PATCH net-next 2/2] net: stmmac: dwmac-socfpga: Add support for Agilex5 TSN GMAC with FPGA converter muhammad.nazim.amirul.nazle.asmade
2026-09-27 3:28 ` netdev-bot+sashiko
2026-09-29 1:43 ` Jakub Kicinski
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=20260924021844.89D2A1F000FF@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 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.