From: sashiko-bot@kernel.org
To: "Ioana Ciornei" <ioana.ciornei@nxp.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH 3/5] arm64: dts: ls1046a: describe the Lynx 10G SerDes blocks
Date: Tue, 30 Jun 2026 11:43:03 +0000 [thread overview]
Message-ID: <20260630114303.E94A21F00A3F@smtp.kernel.org> (raw)
In-Reply-To: <20260630110459.516364-4-ioana.ciornei@nxp.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incorrect 'reg' size property (0xffff instead of 0x10000) for the SerDes blocks, improperly sizing the memory region and missing its last byte.
--
commit e38fd823b92e0ac25dfc572821e4084ac6569201
Author: Vladimir Oltean <vladimir.oltean@nxp.com>
arm64: dts: ls1046a: describe the Lynx 10G SerDes blocks
This patch describes the two Lynx 10G SerDes blocks and their associated lanes
found on the LS1046A SoC. The nodes are initially left disabled at the SoC
level.
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index 6fefe837f434f..db935805c3792 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -424,6 +424,66 @@ sfp: efuse@1e80000 {
> clock-names = "sfp";
> };
>
> + serdes1: phy@1ea0000 {
> + compatible = "fsl,ls1046a-serdes1";
> + reg = <0x00 0x1ea0000 0x0 0xffff>;
[Severity: Low]
Is the region size of 0xffff correct here?
The reg property typically specifies the total size of the block, not the
maximum offset. Should this be 0x10000 to cover the full 64KB block and
include the final byte of the hardware region?
> + #address-cells = <1>;
> + #size-cells = <0>;
[ ... ]
> + serdes2: phy@1eb0000 {
> + compatible = "fsl,ls1046a-serdes2";
> + reg = <0x00 0x1eb0000 0x0 0xffff>;
[Severity: Low]
Similarly, does the serdes2 block also need a reg size of 0x10000 instead of
0xffff?
> + #address-cells = <1>;
> + #size-cells = <0>;
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260630110459.516364-1-ioana.ciornei@nxp.com?part=3
next prev parent reply other threads:[~2026-06-30 11:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 11:04 [PATCH 0/5] arm64: dts: describe the Lynx 10G and 28G SerDes blocks for Layerscape SoCs Ioana Ciornei
2026-06-30 11:04 ` [PATCH 1/5] arm64: dts: lx2160a: transition to device-specific SerDes compatible strings Ioana Ciornei
2026-06-30 11:26 ` sashiko-bot
2026-06-30 12:01 ` Ioana Ciornei
2026-06-30 11:04 ` [PATCH 2/5] arm64: dts: ls1028a: describe the Lynx 10G SerDes Ioana Ciornei
2026-06-30 11:32 ` sashiko-bot
2026-06-30 12:22 ` Ioana Ciornei
2026-06-30 11:04 ` [PATCH 3/5] arm64: dts: ls1046a: describe the Lynx 10G SerDes blocks Ioana Ciornei
2026-06-30 11:43 ` sashiko-bot [this message]
2026-06-30 11:04 ` [PATCH 4/5] arm64: dts: ls208xa: " Ioana Ciornei
2026-06-30 11:48 ` sashiko-bot
2026-06-30 11:04 ` [PATCH 5/5] arm64: dts: ls1088a: " Ioana Ciornei
2026-06-30 20:20 ` [PATCH 0/5] arm64: dts: describe the Lynx 10G and 28G SerDes blocks for Layerscape SoCs Frank Li
2026-07-01 7:42 ` Ioana Ciornei
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=20260630114303.E94A21F00A3F@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=ioana.ciornei@nxp.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