Linux-Amlogic Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: phy: reuse SMSC PHY driver functionality in the meson-gxl PHY driver
@ 2023-03-18 20:30 Heiner Kallweit
  2023-03-18 20:32 ` [PATCH net-next 1/2] net: phy: smsc: export functions for use by " Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Heiner Kallweit @ 2023-03-18 20:30 UTC (permalink / raw)
  To: Russell King - ARM Linux, Andrew Lunn, Neil Armstrong,
	Kevin Hilman, Jerome Brunet, Martin Blumenstingl, David Miller,
	Jakub Kicinski, Paolo Abeni, Eric Dumazet
  Cc: netdev@vger.kernel.org, open list:ARM/Amlogic Meson...,
	linux-arm-kernel@lists.infradead.org, Chris Healy

The Amlogic Meson internal PHY's have the same register layout as
certain SMSC PHY's (also for non-c22-standard registers). This seems
to be more than just coincidence. Apparently they also need the same
workaround for EDPD mode (energy detect power down). Therefore let's
reuse SMSC PHY driver functionality in the meson-gxl PHY driver.

Heiner Kallweit (2):
  net: phy: smsc: export functions for use by meson-gxl PHY driver
  net: phy: meson-gxl: reuse functionality of the SMSC PHY driver

 drivers/net/phy/Kconfig     |  1 +
 drivers/net/phy/meson-gxl.c | 77 ++++---------------------------------
 drivers/net/phy/smsc.c      | 20 ++++++----
 include/linux/smscphy.h     |  6 +++
 4 files changed, 28 insertions(+), 76 deletions(-)

-- 
2.39.2


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

end of thread, other threads:[~2023-03-20 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-18 20:30 [PATCH net-next 0/2] net: phy: reuse SMSC PHY driver functionality in the meson-gxl PHY driver Heiner Kallweit
2023-03-18 20:32 ` [PATCH net-next 1/2] net: phy: smsc: export functions for use by " Heiner Kallweit
2023-03-20  0:39   ` Chris Healy
2023-03-20 12:17     ` Andrew Lunn
2023-03-20 17:33       ` Chris Healy
2023-03-18 20:36 ` [PATCH net-next 2/2] net: phy: meson-gxl: reuse functionality of the SMSC " Heiner Kallweit
2023-03-20 10:30 ` [PATCH net-next 0/2] net: phy: reuse SMSC PHY driver functionality in the meson-gxl " patchwork-bot+netdevbpf

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