Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
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 01/22] arm64: dts: ti: k3-j7200: Fix QSGMII overlay by adding SERDES PHY
Date: Wed, 02 Dec 2026 15:24:23 +0000	[thread overview]
Message-ID: <sashiko-outbox-246086@kernel.org> (raw)
In-Reply-To: <20261202-phy-cadence-torrent-ng-v2-1-0b493387347b@bootlin.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: ti: missing SERDES PHY on cpsw0_port2..4 in J7200
  QSGMII overlay
--

commit 9308aaccf0ec64c66667e093bd8f8f0c3d7d8571
Author: Chintan Vankar <c-vankar@ti.com>

arm64: dts: ti: k3-j7200: Fix QSGMII overlay by adding SERDES PHY

This commit adds the serdes0_qsgmii_link PHY phandle and phy-names to
cpsw0_port1 in the J7200 QSGMII quad-port Ethernet expansion overlay.

> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso b/arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
> index 6432ca08ee8e4..4824d53c95bb3 100644
> --- a/arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
> +++ b/arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
> @@ -32,7 +32,8 @@ &cpsw0_port1 {
>  	phy-handle = <&cpsw5g_phy0>;
>  	phy-mode = "qsgmii";
>  	mac-address = [00 00 00 00 00 00];
> -	phys = <&cpsw0_phy_gmii_sel 1>;
> +	phys = <&cpsw0_phy_gmii_sel 1>, <&serdes0_qsgmii_link>;
> +	phy-names = "mac", "serdes";
>  };
>  
>  &cpsw0_port2 {

[Severity: Medium]
Should cpsw0_port2, cpsw0_port3, and cpsw0_port4 also reference
<&serdes0_qsgmii_link> with phy-names = "mac", "serdes"?

am65_cpsw_nuss_init_slave_ports() skips disabled ports and calls
am65_cpsw_init_serdes_phy() on each enabled port.  If cpsw0_port1 is
disabled while any of cpsw0_port2..4 remain enabled, serdes0_qsgmii_link
is never initialized or powered on and QSGMII link fails on the remaining
ports.  In k3-j784s4-evm-quad-port-eth-exp1.dtso, all four QSGMII ports
specify both the gmii_sel PHY and the shared QSGMII SERDES link PHY.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202-phy-cadence-torrent-ng-v2-0-0b493387347b@bootlin.com?part=1

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  parent reply	other threads:[~2026-12-02 15:24 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   ` sashiko-bot [this message]
     [not found] ` <20261202-phy-cadence-torrent-ng-v2-22-0b493387347b@bootlin.com>
2026-12-02 15:30   ` [PATCH v2 22/22] phy: cadence-torrent: support 8 lanes on the sd0801 PHY sashiko-bot
     [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-246086@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