Skip to content

net: phy: reuse SMSC PHY driver functionality in the meson-gxl PHY driver

Heiner Kallweit linux-amlogic linux-arm-kernel netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: phy: smsc: export functions for use by meson-gxl PHY driverdrivers/net/phy/smsc.c include/linux/smscphy.h+19 -73 repliesApplied
2/2net: phy: meson-gxl: reuse functionality of the SMSC PHY driverdrivers/net/phy/Kconfig drivers/net/phy/meson-gxl.c+9 -690 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: phy: reuse SMSC PHY driver functionality in the meson-gxl PHY driver

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(-)
Signature · 1 line
2.39.2