mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Swapnil Kashinath Jakhade <sjakhade@cadence.com>
To: Benjamin Robin <benjamin.robin@bootlin.com>,
	Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
	Tero Kristo <kristo@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Siddharth Vadapalli <s-vadapalli@ti.com>,
	Andrew Davis <afd@ti.com>,
	Andrzej Hajda <andrzej.hajda@intel.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Robert Foss <rfoss@kernel.org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Vinod Koul <vkoul@kernel.org>,
	Manivannan Sadhasivam <mani@kernel.org>,
	Philipp Zabel <p.zabel@pengutronix.de>
Cc: "thomas.petazzoni@bootlin.com" <thomas.petazzoni@bootlin.com>,
	"Chintan Vankar" <c-vankar@ti.com>,
	"Abhash Kumar Jha" <a-kumar2@ti.com>,
	"Thomas Richard" <thomas.richard@bootlin.com>,
	"Gregory CLEMENT" <gregory.clement@bootlin.com>,
	"Théo Lebrun" <theo.lebrun@bootlin.com>,
	"Tawfik Bayouk" <tawfik.bayouk@mobileye.com>,
	"Vladimir Kondratiev" <vladimir.kondratiev@mobileye.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"linux-phy@lists.infradead.org" <linux-phy@lists.infradead.org>,
	"Dmitry Guzman" <Dmitry.Guzman@mobileye.com>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	"Milind Parab" <mparab@cadence.com>
Subject: RE: [PATCH v2 06/22] phy: torrent: fix `RX_DIAG_NQST_CTRL` register address
Date: Fri, 4 Dec 2026 11:50:41 +0000	[thread overview]
Message-ID: <DS0PR07MB11686704DF7F405A563D54C1FC54A2@DS0PR07MB11686.namprd07.prod.outlook.com> (raw)
In-Reply-To: <20261202-phy-cadence-torrent-ng-v2-6-0b493387347b@bootlin.com>

Hi Benjamin,

> -----Original Message-----
> From: Benjamin Robin <benjamin.robin@bootlin.com>
> Sent: Wednesday, December 2, 2026 8:39 PM
> To: Nishanth Menon <nm@ti.com>; Vignesh Raghavendra <vigneshr@ti.com>;
> Tero Kristo <kristo@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof
> Kozlowski <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>;
> Siddharth Vadapalli <s-vadapalli@ti.com>; Andrew Davis <afd@ti.com>; Andrzej
> Hajda <andrzej.hajda@intel.com>; Neil Armstrong <neil.armstrong@linaro.org>;
> Robert Foss <rfoss@kernel.org>; Laurent Pinchart
> <Laurent.pinchart@ideasonboard.com>; Jonas Karlman <jonas@kwiboo.se>;
> Jernej Skrabec <jernej.skrabec@gmail.com>; Luca Ceresoli
> <luca.ceresoli@bootlin.com>; Maarten Lankhorst
> <maarten.lankhorst@linux.intel.com>; Maxime Ripard <mripard@kernel.org>;
> Thomas Zimmermann <tzimmermann@suse.de>; David Airlie
> <airlied@gmail.com>; Simona Vetter <simona@ffwll.ch>; Vinod Koul
> <vkoul@kernel.org>; Manivannan Sadhasivam <mani@kernel.org>; Swapnil
> Kashinath Jakhade <sjakhade@cadence.com>; Yuti Amonkar
> <yamonkar@cadence.com>; Philipp Zabel <p.zabel@pengutronix.de>
> Cc: thomas.petazzoni@bootlin.com; Chintan Vankar <c-vankar@ti.com>; Abhash
> Kumar Jha <a-kumar2@ti.com>; Thomas Richard
> <thomas.richard@bootlin.com>; Gregory CLEMENT
> <gregory.clement@bootlin.com>; Théo Lebrun <theo.lebrun@bootlin.com>;
> Tawfik Bayouk <tawfik.bayouk@mobileye.com>; Vladimir Kondratiev
> <vladimir.kondratiev@mobileye.com>; 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; Benjamin Robin
> <benjamin.robin@bootlin.com>; Dmitry Guzman
> <Dmitry.Guzman@mobileye.com>; stable@vger.kernel.org
> Subject: [PATCH v2 06/22] phy: torrent: fix `RX_DIAG_NQST_CTRL` register
> address
> 
> EXTERNAL MAIL
> 
> 
> From: Dmitry Guzman <Dmitry.Guzman@mobileye.com>
> 
> 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.

Thanks & regards,
Swapnil

> Fixes: 6bcf3cb30037 ("phy: cadence-torrent: Add support for PHY multilink
> configuration")
> Cc: stable@vger.kernel.org
> Signed-off-by: Dmitry Guzman <Dmitry.Guzman@mobileye.com>
> [Benjamin: Commit message reformulated]
> Signed-off-by: Benjamin Robin <benjamin.robin@bootlin.com>
> ---
>  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


  reply	other threads:[~2026-12-04 11:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 15:08 [PATCH v2 00/22] phy: cadence-torrent: rewrite Torrent PHY driver Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 01/22] arm64: dts: ti: k3-j7200: Fix QSGMII overlay by adding SERDES PHY Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 02/22] drm/bridge: cdns-mhdp8546: Power on/off the PHY in probe/remove Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 03/22] dt-bindings: phy: cadence-torrent: make cdns,num-lanes optional again Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 04/22] dt-bindings: phy: cadence-torrent: add phy-mode constants Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 05/22] phy: cadence-torrent: make cdns,num-lanes optional again Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 06/22] phy: torrent: fix `RX_DIAG_NQST_CTRL` register address Benjamin Robin
2026-12-04 11:50   ` Swapnil Kashinath Jakhade [this message]
2026-12-04 14:00     ` Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 07/22] phy: cadence-torrent: rename symbols to prepare for rewrite Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 08/22] phy: cadence-torrent: replace regmap with readw/writew Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 09/22] phy: cadence-torrent: move refclk clk_init_data to the stack Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 10/22] phy: cadence-torrent: drop diag_tx_drv from DP voltage coeff Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 11/22] phy: cadence-torrent: use link lane count and mlane for DP config Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 12/22] phy: cadence-torrent: use devm_of_clk_add_hw_provider() Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 13/22] phy: cadence-torrent: rework subnode parsing and lane validation Benjamin Robin
2026-12-02 15:08 ` [PATCH v2 14/22] phy: cadence-torrent: rework ref clock init and probe cleanup Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 15/22] phy: cadence-torrent: factor out DP PLL frequency update Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 16/22] phy: cadence-torrent: store clock and reset handles only on success Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 17/22] phy: cadence-torrent: unify link configuration in the probe Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 18/22] phy: cadence-torrent: allow config on an already-configured DP link Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 19/22] phy: cadence-torrent: track current DP link bit rate Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 20/22] phy: cadence-torrent: rework suspend/resume to restore link config Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 21/22] phy: cadence-torrent: rewrite Torrent PHY driver Benjamin Robin
2026-12-02 15:09 ` [PATCH v2 22/22] phy: cadence-torrent: support 8 lanes on the sd0801 PHY Benjamin Robin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DS0PR07MB11686704DF7F405A563D54C1FC54A2@DS0PR07MB11686.namprd07.prod.outlook.com \
    --to=sjakhade@cadence.com \
    --cc=Dmitry.Guzman@mobileye.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=a-kumar2@ti.com \
    --cc=afd@ti.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=benjamin.robin@bootlin.com \
    --cc=c-vankar@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregory.clement@bootlin.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mani@kernel.org \
    --cc=mparab@cadence.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=nm@ti.com \
    --cc=p.zabel@pengutronix.de \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=s-vadapalli@ti.com \
    --cc=simona@ffwll.ch \
    --cc=stable@vger.kernel.org \
    --cc=tawfik.bayouk@mobileye.com \
    --cc=theo.lebrun@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=thomas.richard@bootlin.com \
    --cc=tzimmermann@suse.de \
    --cc=vigneshr@ti.com \
    --cc=vkoul@kernel.org \
    --cc=vladimir.kondratiev@mobileye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®