netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/4] net: phy: micrel: Add support for lan8842
@ 2025-08-14  8:26 Horatiu Vultur
  2025-08-14  8:26 ` [PATCH net-next v4 1/4] net: phy: micrel: Start using PHY_ID_MATCH_MODEL Horatiu Vultur
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Horatiu Vultur @ 2025-08-14  8:26 UTC (permalink / raw)
  To: andrew, hkallweit1, linux, davem, edumazet, kuba, pabeni,
	richardcochran, o.rempel, alok.a.tiwari
  Cc: netdev, linux-kernel, Horatiu Vultur

Add support for LAN8842 which supports industry-standard SGMII.
While add this the first 3 patches in the series cleans more the
driver, they should not introduce any functional changes.

v3->v4:
- add missing patch, the first patch was drop by mistake in previous
  version
- update lanphy_modify_page_reg to print err in readable form and outside
  of lock

v2->v3:
- add better defines for page numbers
- fix the statis->tx_errors, it was reading the rx_errors by mistake
- update lanphy_modify_page_reg to keep lock over all transactions

v1->v2:
- add the first 3 patches to clean the driver
- drop fast link failure support
- implement reading the statistics in the new way

Horatiu Vultur (4):
  net: phy: micrel: Start using PHY_ID_MATCH_MODEL
  net: phy: micrel: Introduce lanphy_modify_page_reg
  net: phy: micrel: Replace hardcoded pages with defines
  net: phy: micrel: Add support for lan8842

 drivers/net/phy/micrel.c   | 780 ++++++++++++++++++++++++++-----------
 include/linux/micrel_phy.h |   1 +
 2 files changed, 549 insertions(+), 232 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-08-14  9:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14  8:26 [PATCH net-next v4 0/4] net: phy: micrel: Add support for lan8842 Horatiu Vultur
2025-08-14  8:26 ` [PATCH net-next v4 1/4] net: phy: micrel: Start using PHY_ID_MATCH_MODEL Horatiu Vultur
2025-08-14  9:27   ` Russell King (Oracle)
2025-08-14  9:48     ` Horatiu Vultur
2025-08-14  8:26 ` [PATCH net-next v4 2/4] net: phy: micrel: Introduce lanphy_modify_page_reg Horatiu Vultur
2025-08-14  9:22   ` Russell King (Oracle)
2025-08-14  8:26 ` [PATCH net-next v4 3/4] net: phy: micrel: Replace hardcoded pages with defines Horatiu Vultur
2025-08-14  9:23   ` Russell King (Oracle)
2025-08-14  8:26 ` [PATCH net-next v4 4/4] net: phy: micrel: Add support for lan8842 Horatiu Vultur
2025-08-14  9:20   ` Russell King (Oracle)
2025-08-14  9:55     ` Horatiu Vultur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).