mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>,
	Daniel Golle <daniel@makrotopia.org>,
	Qingfang Deng <dqfext@gmail.com>,
	SkyLake Huang <SkyLake.Huang@mediatek.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH net-next v2 5/6] net: phy: mediatek: add calibration logic for AN7581
Date: Thu, 30 Jul 2026 13:10:37 -0700	[thread overview]
Message-ID: <20260730131037.3d7c4eaa@kernel.org> (raw)
In-Reply-To: <20260724190811.198339-6-ansuelsmth@gmail.com>

On Fri, 24 Jul 2026 21:08:08 +0200 Christian Marangi wrote:
> Airoha AN7581 require dedicated calibration and specific tuneup to make
> the Ethernet port work on specific HW PCB layout.
> 
> The calibration process is similar to Mediatek PHY but Airoha PHY use
> Software calibration process instead of making use of EFUSE.
> 
> It does also require some complex table for TX Amp compensation and
> multiple register settings for EEE and 10/100M to correctly work.
> Also the PHY apply a different TX Amp compensation table based on the
> SoC PDIDR version. Such version info is stored in the SCU SoC registers.
> 
> Add module version as suggested by Airoha to identify the calibration logic
> with a specific version.

Build warning here:

../drivers/net/phy/mediatek/airoha-ge-soc.c:1508:3: warning: variable 'shared' is uninitialized when used here [-Wuninitialized]
 1508 |                 shared->phydev_p0 = phydev;
      |                 ^~~~~~

Sashiko/Gemini has some other review comments so please check before
reposting:
https://sashiko.dev/#/patchset/20260724190811.198339-6-ansuelsmth@gmail.com

  reply	other threads:[~2026-07-30 20:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-24 19:08 [PATCH net-next v2 0/6] net: phy: mediatek: calibration for AN7581/3 Christian Marangi
2026-07-24 19:08 ` [PATCH net-next v2 1/6] net: phy: mediatek: export __mtk_tr_write Christian Marangi
2026-07-24 19:08 ` [PATCH net-next v2 2/6] net: phy: mediatek: move MTK GE SoC registers define to dedicated header Christian Marangi
2026-07-24 19:08 ` [PATCH net-next v2 3/6] net: phy: mediatek: generalize cal_cycle function for GE SoC Christian Marangi
2026-07-24 19:08 ` [PATCH net-next v2 4/6] net: phy: mediatek: split Airoha code to dedicated source Christian Marangi
2026-07-24 19:08 ` [PATCH net-next v2 5/6] net: phy: mediatek: add calibration logic for AN7581 Christian Marangi
2026-07-30 20:10   ` Jakub Kicinski [this message]
2026-07-24 19:08 ` [PATCH net-next v2 6/6] net: phy: mediatek: add calibration logic for AN7583 Christian Marangi

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=20260730131037.3d7c4eaa@kernel.org \
    --to=kuba@kernel.org \
    --cc=SkyLake.Huang@mediatek.com \
    --cc=andrew@lunn.ch \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=ansuelsmth@gmail.com \
    --cc=daniel@makrotopia.org \
    --cc=davem@davemloft.net \
    --cc=dqfext@gmail.com \
    --cc=edumazet@google.com \
    --cc=hkallweit1@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=matthias.bgg@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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®