Re: [PATCH v2 06/22] phy: torrent: fix `RX_DIAG_NQST_CTRL` register address
From: Benjamin Robin
Date: Fri Dec 04 2026 - 09:00:36 EST
On Friday, December 4, 2026 at 12:50 PM, Swapnil Kashinath Jakhade wrote:
> > From: Dmitry Guzman <Dmitry.Guzman@xxxxxxxxxxxx>
> >
> > The address of register `RX_DIAG_NQST_CTRL` is defined as 0x01E5.
> > According to the datasheet, the correct address is 0x01E6.
> >
> > Fix the register address value by replacing `0x01E5` with `0x01E6`.
> >
>
> Could you please clarify which datasheet is being referenced here? The earlier register
> offset is correct (as per cdn_sd0801_t16ffc_pmaspec_r130_v0.24.pdf) for the Torrent (SD0801)
> PHY implemented on the T16FFC process node.
> Register offsets may differ slightly across implementations based on different 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.
>
> Thanks & regards,
> Swapnil
>
> > Fixes: 6bcf3cb30037 ("phy: cadence-torrent: Add support for PHY multilink
> > configuration")
> > Cc: stable@xxxxxxxxxxxxxxx
> > Signed-off-by: Dmitry Guzman <Dmitry.Guzman@xxxxxxxxxxxx>
> > [Benjamin: Commit message reformulated]
> > Signed-off-by: Benjamin Robin <benjamin.robin@xxxxxxxxxxx>
> > ---
> > drivers/phy/cadence/phy-cadence-torrent.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > 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
> >
> > --
> > 2.56.1
>
>
--
Benjamin Robin, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com