From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4669F606A322 for ; Thu, 3 Dec 2026 13:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=JMNzdtfL Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A284F10E735; Thu, 3 Dec 2026 13:59:51 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5C40410E735 for ; Thu, 3 Dec 2026 13:59:45 +0000 (UTC) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 1A4EA4E41861; Thu, 3 Dec 2026 13:59:43 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id E2252604ED; Thu, 3 Dec 2026 13:59:42 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2117411EA0CD5; Thu, 03 Dec 2026 14:59:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796306382; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=VeyqKw3jKmCvvtbDPqhbtfIOpRIAj2U4Gn7JlpomjFY=; b=JMNzdtfLZuUA46KyGHH0Bqzxe2vl19nF42mnwXe++gd8A42wlHIXh+jQD5TqIxtIs0K3Lj ztMZVoX8pa2jSdlvAFGCElvjOedgIXXtw8+GqKCXiQLtvQMmbKFidtGJ9aV6l+rwqG3QDX lKHH81oYIgN2dLH9G798VLFGQSZeCemgOilIgd73dc9hRojjLgLx83ZbPVXPgq7vuPLke7 fw5hZpP/iGPM/flJTbxu85kvGP0Gmo+gBtWhaEHzNPI94vpWBREpXJ7TN2pGQyKcF0+o58 L36wD3EM4ToqtxAyGoHvf3+GlVP62EFQT21EnRq5eZTUG9ZU9RZXY5bwXwqLxA== From: Benjamin Robin 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 Message-ID: In-Reply-To: References: <20261202-phy-cadence-torrent-ng-v2-0-0b493387347b@bootlin.com> <20261202-phy-cadence-torrent-ng-v2-1-0b493387347b@bootlin.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "dri-devel" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wednesday, December 2, 2026 at 4:24=E2=80=AFPM, sashiko-bot@kernel.org w= rote: > 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 > -- >=20 > commit 9308aaccf0ec64c66667e093bd8f8f0c3d7d8571 > Author: Chintan Vankar >=20 > arm64: dts: ti: k3-j7200: Fix QSGMII overlay by adding SERDES PHY >=20 > This commit adds the serdes0_qsgmii_link PHY phandle and phy-names to > cpsw0_port1 in the J7200 QSGMII quad-port Ethernet expansion overlay. >=20 > > 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 =3D <&cpsw5g_phy0>; > > phy-mode =3D "qsgmii"; > > mac-address =3D [00 00 00 00 00 00]; > > - phys =3D <&cpsw0_phy_gmii_sel 1>; > > + phys =3D <&cpsw0_phy_gmii_sel 1>, <&serdes0_qsgmii_link>; > > + phy-names =3D "mac", "serdes"; > > }; > > =20 > > &cpsw0_port2 { >=20 > [Severity: Medium] > Should cpsw0_port2, cpsw0_port3, and cpsw0_port4 also reference > <&serdes0_qsgmii_link> with phy-names =3D "mac", "serdes"? >=20 > 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. =2D-=20 Benjamin Robin, Bootlin Embedded Linux and Kernel engineering https://bootlin.com