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 7713F606A33F for ; Fri, 4 Dec 2026 14:00:41 +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=yPtqCZrm Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DBA29112E74; Fri, 4 Dec 2026 14:00:35 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by gabe.freedesktop.org (Postfix) with ESMTPS id A2B67112E74 for ; Fri, 4 Dec 2026 14:00:29 +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 4F14D4E41888; Fri, 4 Dec 2026 14:00:27 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 1A3A8603C4; Fri, 4 Dec 2026 14:00:27 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3DEAC11EA180A; Fri, 04 Dec 2026 15:00:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796392820; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=dgTEcFZyM6a44jCFPnbF/UssVd6JYO/i5Rghno3ZqYY=; b=yPtqCZrmvPrlacpOzoCBOkWfKwlroa3z5PLpwAa5SBKhqeVKqw+9kBGh78lTXOiR95vxpw vvKQ4U0oiquOZrkwc8VscL98J2+/DwL66GoYilk5xkHppxfw/l5GrfEhgZE8JkIB3Jl5f5 vi6VXVTE4PaWFMnprC8oIEP8GOsscFLwjAf7FCINAjQjsoyZm4fdQo2ELd4k5MvAuKok1F h5QpL1X6aoh+m56yfJDyYJgrwC64xYJ76HwOs2fFYmW7pnG7XjNY7BbIXJ1RKM+dibrN/V QLtP2swU1SooM5K7UeGD1HHpY3O5V0b9M7IWkmN64eDy+TQbGA5h3fI/uXsRgw== From: Benjamin Robin To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Siddharth Vadapalli , Andrew Davis , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Vinod Koul , Manivannan Sadhasivam , Philipp Zabel , Swapnil Kashinath Jakhade Cc: "thomas.petazzoni@bootlin.com" , Chintan Vankar , Abhash Kumar Jha , Thomas Richard , Gregory CLEMENT , =?UTF-8?B?VGjDqW8=?= Lebrun , Tawfik Bayouk , Vladimir Kondratiev , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "linux-phy@lists.infradead.org" , Dmitry Guzman , "stable@vger.kernel.org" , Milind Parab Subject: Re: [PATCH v2 06/22] phy: torrent: fix `RX_DIAG_NQST_CTRL` register address Date: Fri, 04 Dec 2026 15:00:00 +0100 Message-ID: In-Reply-To: References: <20261202-phy-cadence-torrent-ng-v2-0-0b493387347b@bootlin.com> <20261202-phy-cadence-torrent-ng-v2-6-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=-16.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 Friday, December 4, 2026 at 12:50=E2=80=AFPM, Swapnil Kashinath Jakhade = wrote: > > From: Dmitry Guzman > >=20 > > The address of register `RX_DIAG_NQST_CTRL` is defined as 0x01E5. > > According to the datasheet, the correct address is 0x01E6. > >=20 > > Fix the register address value by replacing `0x01E5` with `0x01E6`. > >=20 >=20 > Could you please clarify which datasheet is being referenced here? The ea= rlier register > offset is correct (as per cdn_sd0801_t16ffc_pmaspec_r130_v0.24.pdf) for t= he Torrent (SD0801) > PHY implemented on the T16FFC process node. > Register offsets may differ slightly across implementations based on diff= erent process nodes, > so, this may need a proper handling. I have the following versions, provided by Mobileye: - cdn_sd0801_t5g_intgrguide_r130_v2.9.pdf (IP Rev: R130 - Doc Rev: V0.11, June 01, 2023) - cdn_sd0801_t5g_pmaspec_r130_v0.14.pdf I have not checked, yet, with Dmitry Guzman why this fix was made; I'm going to ask him. Right after receiving your email, I checked on the J784S4XEVM (TSMC-16, rev 130). The address 0x050783CA (register offset 0x01E5) returns 0x0B98, which is the default value of RX_DIAG_NQST_CTRL. So it looks like the previous address for RX_DIAG_NQST_CTRL was right I will drop that patch (at least in its current form) in v3. I tried to check the default values of the surrounding registers, but most of the expected values do not match. Was the RX_DIAG_DFE_AMP_TUNE_4 register dropped? Do you know whether a more recent version of the user guide can be shared? I will ask Mobileye (again), but they previously said that it is the latest version they have for integrating the Torrent PHY in their SoC. >=20 > Thanks & regards, > Swapnil >=20 > > Fixes: 6bcf3cb30037 ("phy: cadence-torrent: Add support for PHY multili= nk > > configuration") > > Cc: stable@vger.kernel.org > > Signed-off-by: Dmitry Guzman > > [Benjamin: Commit message reformulated] > > Signed-off-by: Benjamin Robin > > --- > > drivers/phy/cadence/phy-cadence-torrent.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > diff --git a/drivers/phy/cadence/phy-cadence-torrent.c > > b/drivers/phy/cadence/phy-cadence-torrent.c > > index 42d60102c0f8..9b3ae73c4d78 100644 > > --- a/drivers/phy/cadence/phy-cadence-torrent.c > > +++ b/drivers/phy/cadence/phy-cadence-torrent.c > > @@ -217,7 +217,7 @@ > > #define RX_DIAG_DFE_AMP_TUNE_2 0x01E2U > > #define RX_DIAG_DFE_AMP_TUNE_3 0x01E3U > > #define RX_DIAG_REE_DAC_CTRL 0x01E4U > > -#define RX_DIAG_NQST_CTRL 0x01E5U > > +#define RX_DIAG_NQST_CTRL 0x01E6U > > #define RX_DIAG_SIGDET_TUNE 0x01E8U > > #define RX_DIAG_PI_RATE 0x01F4U > > #define RX_DIAG_PI_CAP 0x01F5U > >=20 > > -- > > 2.56.1 >=20 >=20 =2D-=20 Benjamin Robin, Bootlin Embedded Linux and Kernel engineering https://bootlin.com