public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/3] Airoha AN8811HB 2.5 Gbps phy support
@ 2026-01-26  6:57 Bjørn Mork
  2026-01-26  6:57 ` [PATCH net-next v3 1/3] net: phy: air_en8811h: factor out shareable code Bjørn Mork
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bjørn Mork @ 2026-01-26  6:57 UTC (permalink / raw)
  To: netdev
  Cc: Lucien.Jheng, Daniel Golle, Vladimir Oltean, Andrew Lunn,
	Heiner Kallweit, Russell King, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, linux-kernel, Bjørn Mork

The RFC patch posted earlier has been split into a series based on the
feedback received:

 1/3: preparing the EN8811H driver for maximum reuse
 2/3: adding support for the new AN8811HB hardware
 3/3: adding (optional) clock driver for AN8811HB

Patch 3/3 is not required for a functional device. It is included here
for full feature parity between the EN8811H and AN8811HB drivers.

The AN8811HB phy requires new firmware, which is now available with
the 20260110 release of linux-firmware,

RFC: https://lore.kernel.org/20251202102222.1681522-1-bjorn@mork.no/
v1:  https://lore.kernel.org/20260122071601.1057083-1-bjorn@mork.no/
v2:  https://lore.kernel.org/20260123075817.1162068-1-bjorn@mork.no/

Changes since v2:
- made read_status generic with one phy_id conditional block, reducing
  initial refactoring and improving code readability

Changes since v1:
- moved AIR_AUX_CTRL_STATUS_SPEED_10 reference from patch 1 to 2, where
  it is defined, fixing intermediate build error
- rearranged an8811hb_check_crc loop to improve readability for AI and
  other intelligent beings

Changes since RFC:
- refactoring of the existing EN8811H code is separated into a patch
  of its own
- ID conditionals are dropped, using separate functions for the two
  hardware variants instead. Some common helpers have been added to
  reduse code duplication
- deprecated serdes polarity properties are not supported for AN8811HB
- the polarity configuration code has proper error handling
- a polarity configuration bug is fixed by using the new simplified
  helper interface
- the clock driver is split out in a separate patch to reduce the size
  of the main AN8811HB driver patch

Bjørn Mork (3):
  net: phy: air_en8811h: factor out shareable code
  net: phy: air_en8811h: add Airoha AN8811HB support
  net: phy: air_en8811h: Add clk provider for an8811hb

 drivers/net/phy/air_en8811h.c | 447 +++++++++++++++++++++++++++++++---
 1 file changed, 413 insertions(+), 34 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-01-27 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-26  6:57 [PATCH net-next v3 0/3] Airoha AN8811HB 2.5 Gbps phy support Bjørn Mork
2026-01-26  6:57 ` [PATCH net-next v3 1/3] net: phy: air_en8811h: factor out shareable code Bjørn Mork
2026-01-26  6:57 ` [PATCH net-next v3 2/3] net: phy: air_en8811h: add Airoha AN8811HB support Bjørn Mork
2026-01-27  3:11   ` Jakub Kicinski
2026-01-27 11:17     ` Bjørn Mork
2026-01-26  6:57 ` [PATCH net-next v3 3/3] net: phy: air_en8811h: Add clk provider for an8811hb Bjørn Mork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox