From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.85.4 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796392833; b=pTOPQEmAV21RwIpPc5+hKAdpUF7Zif/Vf3V/etXFeIDoJAoa7kDIqmUErN4KspbO9AkR FAtscb8lzXRzD+QcP4oR1vKKyuyCm6UILYgzPtVT/OZr6usLy9ZsMklSlWlijmbTXU57i GMXNWinx74aS6rrZOeVFbq3i6rWnD9Ezt437Rw946gofu0zHkbVtRPIWvhygDhctOpCVi etIIHQCJoTaWcwKYXFqyPXilLKrwtsAhDd23Z8K2/Ul3X3CL/CDSw5pcplQX/JB5m9qVf jOpqBoP4Sc9RGl7enoMoJfoEA5bRUciwmp9I6rjdTo9YhQtB4jumKFR4+c7ydhwjEtQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796392833; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:Date:Message-ID:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:Content-Type:X-Last-TLS-Session-Version; bh=dgTEcFZyM6a44jCFPnbF/UssVd6JYO/i5Rghno3ZqYY=; b=2muIVKT9PX2h/kW2+nFZBlh2xP+KPvs5qwHA+2oIZo4crWOrNr9JGRDeY/dYW4D1iBnk zbcAPjnihheswkpVUIE8/LSQU92+IdPnDB/Nnudc/H6hOXtbu+8FPxhB0iLqNAUJ2djOp xvQ9k/FjPLl09PU6ssP0UxxBMLAcmQ9OPtLKs8kDf0H+PJZyoOUul+xPwY2lhVEfAg+20 xd/ZIdi5TubG9RxAOElUwzz2gACxeopZ3LK9eyXyjOQL0tAYUzvJ3Ojs93UWT4tN6MUio fhcJfvzKVCt4Jd1bBz9F1s3GIShw/TNamHUlqoKlxO5pAuy+UXU99H+aXI2hkz2q6Mg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=yPtqCZrm; arc=none smtp.remote-ip=185.246.85.4 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 1DFBE606A685 for ; Fri, 4 Dec 2026 14:00:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1DFBE606A685 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=yPtqCZrm 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-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Last-TLS-Session-Version: TLSv1.3 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