From: sashiko-bot@kernel.org
To: "Benjamin Robin" <benjamin.robin@bootlin.com>
Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-phy@lists.infradead.org, robh@kernel.org,
conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org,
olteanv@gmail.com
Subject: Re: [PATCH v2 22/22] phy: cadence-torrent: support 8 lanes on the sd0801 PHY
Date: Wed, 02 Dec 2026 15:30:52 +0000 [thread overview]
Message-ID: <sashiko-outbox-246107@kernel.org> (raw)
In-Reply-To: <20261202-phy-cadence-torrent-ng-v2-22-0b493387347b@bootlin.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] phy: cadence-torrent: mask_available_lanes 0x0F blocks 8-lane
support
--
commit 4cd07b2392984febe0d7ed29322fdd4014b9aee3
Author: Benjamin Robin <benjamin.robin@bootlin.com>
phy: cadence-torrent: support 8 lanes on the sd0801 PHY
This commit raises MAX_NUM_LANES from 4 to 8 to support up to 8 lanes on
the Cadence Torrent SD0801 PHY.
> diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c
> index 21ad6c30a3f20..5a3e307f6c969 100644
> --- a/drivers/phy/cadence/phy-cadence-torrent.c
> +++ b/drivers/phy/cadence/phy-cadence-torrent.c
> @@ -22,7 +22,7 @@
> #include <linux/reset.h>
>
> #define DEFAULT_NUM_LANES 4
> -#define MAX_NUM_LANES 4
> +#define MAX_NUM_LANES 8
[Severity: High]
Does cdns_map_torrent.mask_available_lanes also need to be updated from
0x0F to 0xFF?
tp_set_used_lanes() checks mask_lanes against
tp_data->init_data->mask_available_lanes, which is still 0x0F in
cdns_map_torrent, so probing any subnode that uses lanes 4..7 will fail
with -EINVAL.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202-phy-cadence-torrent-ng-v2-0-0b493387347b@bootlin.com?part=22
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2026-12-02 15:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261202-phy-cadence-torrent-ng-v2-0-0b493387347b@bootlin.com>
2026-12-02 15:08 ` [PATCH v2 04/22] dt-bindings: phy: cadence-torrent: add phy-mode constants Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 07/22] phy: cadence-torrent: rename symbols to prepare for rewrite Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 08/22] phy: cadence-torrent: replace regmap with readw/writew Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 11/22] phy: cadence-torrent: use link lane count and mlane for DP config Benjamin Robin
2026-12-02 15:28 ` sashiko-bot
2026-12-02 15:08 ` [PATCH v2 14/22] phy: cadence-torrent: rework ref clock init and probe cleanup Benjamin Robin
2026-12-02 15:24 ` sashiko-bot
2026-12-02 15:09 ` [PATCH v2 16/22] phy: cadence-torrent: store clock and reset handles only on success Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 17/22] phy: cadence-torrent: unify link configuration in the probe Benjamin Robin
2026-12-02 15:37 ` sashiko-bot
[not found] ` <20261202-phy-cadence-torrent-ng-v2-1-0b493387347b@bootlin.com>
2026-12-02 15:24 ` [PATCH v2 01/22] arm64: dts: ti: k3-j7200: Fix QSGMII overlay by adding SERDES PHY sashiko-bot
[not found] ` <20261202-phy-cadence-torrent-ng-v2-22-0b493387347b@bootlin.com>
2026-12-02 15:30 ` sashiko-bot [this message]
[not found] ` <20261202-phy-cadence-torrent-ng-v2-18-0b493387347b@bootlin.com>
2026-12-02 15:31 ` [PATCH v2 18/22] phy: cadence-torrent: allow config on an already-configured DP link sashiko-bot
[not found] ` <20261202-phy-cadence-torrent-ng-v2-20-0b493387347b@bootlin.com>
2026-12-02 15:34 ` [PATCH v2 20/22] phy: cadence-torrent: rework suspend/resume to restore link config sashiko-bot
[not found] ` <20261202-phy-cadence-torrent-ng-v2-21-0b493387347b@bootlin.com>
2026-12-02 15:38 ` [PATCH v2 21/22] phy: cadence-torrent: rewrite Torrent PHY driver sashiko-bot
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=sashiko-outbox-246107@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=benjamin.robin@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-phy@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=olteanv@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
/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