[PATCH net-next 0/2] net: phy: reuse SMSC PHY driver functionality in the meson-gxl PHY driver
Heiner Kallweit
hkallweit1 at gmail.com
Sat Mar 18 13:30:01 PDT 2023
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
More information about the linux-amlogic
mailing list