From: sashiko-bot@kernel.org
To: muhammad.nazim.amirul.nazle.asmade@altera.com
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v5 3/4] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible
Date: Tue, 18 Aug 2026 03:02:32 +0000 [thread overview]
Message-ID: <20260818030232.9D8221F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260817030213.6769-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 new compatible string `altr,socfpga-stmmac-agilex5-tsn` was omitted from the `if-then` conditional block that configures Agilex5 hardware constraints, causing incorrect schema validation constraints.
--
--- Patch [3]: [PATCH v5 3/4] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible ---
commit 2c9b079b75feaedbd6e75247894304aafdd870f8
Author: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>
dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible
This commit adds the altr,socfpga-stmmac-agilex5-tsn compatible string for the
Agilex5 SoCDK TSN Config2 gmac1 path. The integration includes an FPGA soft-IP
GMII-to-RGMII converter between the DWXGMAC and the PHY.
> diff --git a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> index 63084f7623738..7db6a71029943 100644
> --- a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> +++ b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
[ ... ]
> @@ -46,6 +47,9 @@ properties:
> - items:
> - const: altr,socfpga-stmmac-agilex5
> - const: snps,dwxgmac-2.10
> + - items:
> + - const: altr,socfpga-stmmac-agilex5-tsn
> + - const: snps,dwxgmac-2.10
>
> clocks:
> minItems: 1
[Severity: Medium]
Should altr,socfpga-stmmac-agilex5-tsn also be added to the allOf conditional
block for Agilex5 devices further down in the file?
Currently, the conditional block enforces constraints specifically for Agilex5:
- if:
properties:
compatible:
contains:
const: altr,socfpga-stmmac-agilex5
then:
properties:
interrupts:
minItems: 17
Since the new compatible string is omitted here, won't valid device trees
using the new tsn variant fail schema validation because they fall into the
else branch, which incorrectly applies interrupts: maxItems: 1 and
dma-coherent: false?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260817030213.6769-1-muhammad.nazim.amirul.nazle.asmade@altera.com?part=3
next prev parent reply other threads:[~2026-08-18 3:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 3:02 [PATCH v5 0/4] Add Agilex5 SoCDK TSN Config2 board support muhammad.nazim.amirul.nazle.asmade
2026-08-17 3:02 ` [PATCH v5 1/4] dt-bindings: arm: altera: Add Agilex5 SoCDK TSN Config2 board muhammad.nazim.amirul.nazle.asmade
2026-08-17 3:02 ` [PATCH v5 2/4] arm64: dts: socfpga: agilex5: Add " muhammad.nazim.amirul.nazle.asmade
2026-08-18 3:02 ` sashiko-bot
2026-08-17 3:02 ` [PATCH v5 3/4] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible muhammad.nazim.amirul.nazle.asmade
2026-08-17 15:46 ` Krzysztof Kozlowski
2026-08-18 3:02 ` sashiko-bot [this message]
2026-08-17 3:02 ` [PATCH net-next v5 4/4] net: stmmac: dwmac-socfpga: Add support for Agilex5 TSN GMAC with FPGA converter muhammad.nazim.amirul.nazle.asmade
2026-08-17 15:42 ` 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=20260818030232.9D8221F00A3D@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