diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-06-11 00:48:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 11:55:04 +0100 |
commit | 98c485eaf509bc0e2a85f9b58d17cd501f274c4e (patch) | |
tree | 21c32d999d79494c50bf9e5f841027e69d02440e /drivers/net/phy/mediatek-ge.c | |
parent | a89dc58703c362bf2005880c575608e10f3607a8 (diff) |
net: phy: add driver for MediaTek SoC built-in GE PHYs
Some of MediaTek's Filogic SoCs come with built-in gigabit Ethernet
PHYs which require calibration data from the SoC's efuse.
Despite the similar design the driver doesn't share any code with the
existing mediatek-ge.c.
Add support for such PHYs by introducing a new driver with basic
support for MediaTek SoCs MT7981 and MT7988 built-in 1GE PHYs.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mediatek-ge.c')
-rw-r--r-- | drivers/net/phy/mediatek-ge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/mediatek-ge.c b/drivers/net/phy/mediatek-ge.c index 68ee434f9dea..a493ae01b267 100644 --- a/drivers/net/phy/mediatek-ge.c +++ b/drivers/net/phy/mediatek-ge.c @@ -102,7 +102,8 @@ static struct phy_driver mtk_gephy_driver[] = { module_phy_driver(mtk_gephy_driver); static struct mdio_device_id __maybe_unused mtk_gephy_tbl[] = { - { PHY_ID_MATCH_VENDOR(0x03a29400) }, + { PHY_ID_MATCH_EXACT(0x03a29441) }, + { PHY_ID_MATCH_EXACT(0x03a29412) }, { } }; |