diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2023-03-18 21:36:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-20 10:24:09 +0000 |
commit | be66fcc16ce677eaf4b119861d468dc1881a13aa (patch) | |
tree | d74d0aed67b4a710b416ed2723dcfabd8592865c /drivers/net/phy/Kconfig | |
parent | a69e332b4ef9f697a4558bab9c442a02b3659fcb (diff) | |
download | linux-stable-be66fcc16ce677eaf4b119861d468dc1881a13aa.tar.gz linux-stable-be66fcc16ce677eaf4b119861d468dc1881a13aa.tar.bz2 linux-stable-be66fcc16ce677eaf4b119861d468dc1881a13aa.zip |
net: phy: meson-gxl: reuse functionality of the SMSC 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.
Tested with a G12A internal PHY. I don't have GXL test hw,
therefore I replace only the callbacks that are identical in
the SMSC PHY driver.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r-- | drivers/net/phy/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 54874555c921..6b9525def973 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -70,6 +70,7 @@ config AMD_PHY config MESON_GXL_PHY tristate "Amlogic Meson GXL Internal PHY" depends on ARCH_MESON || COMPILE_TEST + select SMSC_PHY help Currently has a driver for the Amlogic Meson GXL Internal PHY |