From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E82DE606A330 for ; Fri, 4 Dec 2026 14:02:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=CR1mCR7a; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=yPtqCZrm DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=dgTEcFZyM6a44jCFPnbF/UssVd6JYO/i5Rghno3ZqYY=; b=CR1mCR7af7PepE111MgnXYVIiI gJZWAzUR7np59DstBNF/chnf2NsbOgBW1A6Uh+iIsVHS+CDgswxJzFPumrTDvoEZwabTNJxS0mwVi v9/E2rHb8D7GsN7SCRUlzLvkBiaY5Gd+oykY4nPu22544TwKNxbQ/4kicY1WMPCKNkFz4SQCUxVuT 5wGEubThRLuh3uTFoHjzrMPbYZmohf7loli49CbE604DNYAJdLY3jx8uKY495zFUwsLczm10Th8Sd RMOvaTDygtRhHLe3bMfGg6lRH6hmTGl+PV0/NG/+N27eQxbNYwm6YWAdHO9Pgkt8urSqyQcfIh2gl jt07qZLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZTrR-00000000VoO-3sKb; Fri, 04 Dec 2026 14:02:27 +0000 Received: from smtpout-02.galae.net ([185.246.84.56]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZTpu-00000000VdF-1kX3 for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 14:00:43 +0000 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 5436D1A1951; 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_060031_409226_4C7F077D X-CRM114-Status: GOOD ( 24.91 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-16.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, 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