From: Benjamin Robin <benjamin.robin@bootlin.com>
To: sashiko-reviews@lists.linux.dev
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: Thu, 03 Dec 2026 14:59:39 +0100 [thread overview]
Message-ID: <Kco9_Vv-QRmL0LJaArVdXA@bootlin.com> (raw)
In-Reply-To: <sashiko-outbox-246086@kernel.org>
On Wednesday, December 2, 2026 at 4:24 PM, sashiko-bot@kernel.org wrote:
> 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.
Indeed this could be an issue if the first port is disabled, this will
be fixed in v3.
--
Benjamin Robin, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Robin <benjamin.robin@bootlin.com>
To: sashiko-reviews@lists.linux.dev
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: Thu, 03 Dec 2026 14:59:39 +0100 [thread overview]
Message-ID: <Kco9_Vv-QRmL0LJaArVdXA@bootlin.com> (raw)
In-Reply-To: <sashiko-outbox-246086@kernel.org>
On Wednesday, December 2, 2026 at 4:24 PM, sashiko-bot@kernel.org wrote:
> 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.
Indeed this could be an issue if the first port is disabled, this will
be fixed in v3.
--
Benjamin Robin, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-12-03 13:59 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 15:08 [PATCH v2 00/22] phy: cadence-torrent: rewrite Torrent PHY driver Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 01/22] arm64: dts: ti: k3-j7200: Fix QSGMII overlay by adding SERDES PHY Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
2026-12-02 15:24 ` sashiko-bot
2026-12-02 15:24 ` sashiko-bot
2026-12-03 13:59 ` Benjamin Robin [this message]
2026-12-03 13:59 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 02/22] drm/bridge: cdns-mhdp8546: Power on/off the PHY in probe/remove Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 03/22] dt-bindings: phy: cadence-torrent: make cdns,num-lanes optional again Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
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 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 05/22] phy: cadence-torrent: make cdns,num-lanes optional again Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 06/22] phy: torrent: fix `RX_DIAG_NQST_CTRL` register address Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
2026-12-04 11:50 ` Swapnil Kashinath Jakhade
2026-12-04 11:50 ` Swapnil Kashinath Jakhade
2026-12-04 14:00 ` Benjamin Robin
2026-12-04 14:00 ` 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 ` 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 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 09/22] phy: cadence-torrent: move refclk clk_init_data to the stack Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 10/22] phy: cadence-torrent: drop diag_tx_drv from DP voltage coeff Benjamin Robin
2026-12-02 15:08 ` 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:08 ` Benjamin Robin
2026-12-02 15:28 ` sashiko-bot
2026-12-02 15:28 ` sashiko-bot
2026-12-03 15:11 ` Benjamin Robin
2026-12-03 15:11 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 12/22] phy: cadence-torrent: use devm_of_clk_add_hw_provider() Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 13/22] phy: cadence-torrent: rework subnode parsing and lane validation Benjamin Robin
2026-12-02 15:08 ` Benjamin Robin
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:08 ` Benjamin Robin
2026-12-02 15:24 ` sashiko-bot
2026-12-02 15:24 ` sashiko-bot
2026-12-03 14:27 ` Benjamin Robin
2026-12-03 14:27 ` Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 15/22] phy: cadence-torrent: factor out DP PLL frequency update Benjamin Robin
2026-12-02 15:09 ` Benjamin Robin
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 ` 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:09 ` Benjamin Robin
2026-12-02 15:37 ` sashiko-bot
2026-12-02 15:37 ` sashiko-bot
2026-12-03 17:16 ` Benjamin Robin
2026-12-03 17:16 ` Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 18/22] phy: cadence-torrent: allow config on an already-configured DP link Benjamin Robin
2026-12-02 15:09 ` Benjamin Robin
2026-12-02 15:31 ` sashiko-bot
2026-12-02 15:31 ` sashiko-bot
2026-12-03 15:56 ` Benjamin Robin
2026-12-03 15:56 ` Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 19/22] phy: cadence-torrent: track current DP link bit rate Benjamin Robin
2026-12-02 15:09 ` Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 20/22] phy: cadence-torrent: rework suspend/resume to restore link config Benjamin Robin
2026-12-02 15:09 ` Benjamin Robin
2026-12-02 15:34 ` sashiko-bot
2026-12-02 15:34 ` sashiko-bot
2026-12-03 17:04 ` Benjamin Robin
2026-12-03 17:04 ` Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 21/22] phy: cadence-torrent: rewrite Torrent PHY driver Benjamin Robin
2026-12-02 15:38 ` sashiko-bot
2026-12-02 15:38 ` sashiko-bot
2026-12-02 17:18 ` Benjamin Robin
2026-12-02 17:18 ` Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 22/22] phy: cadence-torrent: support 8 lanes on the sd0801 PHY Benjamin Robin
2026-12-02 15:09 ` Benjamin Robin
2026-12-02 15:30 ` sashiko-bot
2026-12-02 15:30 ` sashiko-bot
2026-12-03 15:16 ` Benjamin Robin
2026-12-03 15:16 ` Benjamin Robin
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=Kco9_Vv-QRmL0LJaArVdXA@bootlin.com \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.