From: sashiko-bot@kernel.org
To: muhammad.nazim.amirul.nazle.asmade@altera.com
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 2/4] arm64: dts: socfpga: agilex5: Add SoCDK TSN Config2 board
Date: Wed, 08 Jul 2026 06:13:21 +0000 [thread overview]
Message-ID: <20260708061321.B46431F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260707061305.27580-3-muhammad.nazim.amirul.nazle.asmade@altera.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Broken RGMII timings due to missing driver support for stripping PHY delays.
- [Low] Undocumented MAC-level compatible string.
--
--- Patch [2]: [PATCH v2 2/4] arm64: dts: socfpga: agilex5: Add SoCDK TSN Config2 board ---
commit 9b347403f48cf7cfca1e37c7a4bbf38717136eeb
Author: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>
arm64: dts: socfpga: agilex5: Add SoCDK TSN Config2 board
This commit adds the device tree for the Intel SoCFPGA Agilex5 SoCDK TSN
Config2 board variant. It enables gmac1 as a TSN port utilizing a
GMII-to-RGMII converter implemented in the FPGA fabric.
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_tsn_cfg2.dts b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_tsn_cfg2.dts
> new file mode 100644
> index 0000000000000..bf13ccfc1faa5
> --- /dev/null
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_tsn_cfg2.dts
[ ... ]
> +&gmac1 {
> + status = "okay";
> + compatible = "altr,socfpga-stmmac-agilex5-tsn",
[Severity: Low]
Is this new MAC-level compatible string documented in the devicetree bindings?
It appears missing from Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml,
which would cause dtbs_check validation to fail with warnings.
> + "altr,socfpga-stmmac-agilex5",
> + "snps,dwxgmac-2.10";
> + phy-mode = "rgmii-id";
[Severity: High]
The commit message states that the new compatible string is used so the driver
can detect the converter and strip the delay bits before configuring the PHY.
Does the dwmac-socfpga driver currently support the
altr,socfpga-stmmac-agilex5-tsn string and the associated delay-stripping
logic?
If this support isn't present in the driver yet, the driver will fall back to
altr,socfpga-stmmac-agilex5 and pass rgmii-id unmodified. Will this cause the
PHY driver to add internal delays on top of the delays already provided by the
FPGA soft IP, resulting in broken RGMII timings?
> + phy-handle = <&emac1_phy0>;
> + max-frame-size = <9000>;
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260707061305.27580-1-muhammad.nazim.amirul.nazle.asmade@altera.com?part=2
next prev parent reply other threads:[~2026-07-08 6:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 6:13 [PATCH v2 0/4] Add Intel Agilex5 SoCDK TSN Config2 board muhammad.nazim.amirul.nazle.asmade
2026-07-07 6:13 ` [PATCH v2 1/4] dt-bindings: arm: altera: Add " muhammad.nazim.amirul.nazle.asmade
2026-07-07 6:41 ` Krzysztof Kozlowski
2026-07-07 8:08 ` Nazle Asmade, Muhammad Nazim Amirul
2026-07-07 6:13 ` [PATCH v2 2/4] arm64: dts: socfpga: agilex5: Add " muhammad.nazim.amirul.nazle.asmade
2026-07-08 6:13 ` sashiko-bot [this message]
2026-07-07 6:13 ` [PATCH v2 3/4] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible muhammad.nazim.amirul.nazle.asmade
2026-07-07 6:13 ` [PATCH net-next v2 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=20260708061321.B46431F000E9@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