Add driver for Motorcomm YT8521S Gigabit ethernet phy.
Signed-off-by: Frank Sae
---
drivers/net/phy/motorcomm.c | 90 -
1 file changed, 89 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c
index a1d5eac7bf
Add driver for Motorcomm YT8531S Gigabit ethernet phy.
Signed-off-by: Frank Sae
---
drivers/net/phy/motorcomm.c | 96 -
1 file changed, 94 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c
index 4d67203ee7
Add a driver for the motorcomm YT8821 2.5G ethernet phy which works in
2500base-x mode.
Verify the driver on BPI-R3(with MediaTek MT7986(Filogic 830) SoC) evb.
Signed-off-by: Frank Sae
---
drivers/net/phy/motorcomm.c | 491
1 file changed, 491 insertions
YT8531 as Gigabit transceiver uses bit15:14(bit9 reserved default 0) as phy
speed mask, YT8821 as 2.5 Gigabit transceiver uses bit9 bit15:14 as phy
speed mask.
Be compatible to YT8821, reform phy speed mask and phy speed macro.
Signed-off-by: Frank Sae
---
drivers/net/phy/motorcomm.c | 14
YT8531 as Gigabit transceiver uses bit15:14(bit9 reserved default 0) as phy
speed mask, YT8821 as 2.5 Gigabit transceiver uses bit9 bit15:14 as phy
speed mask.
Be compatible to YT8821, reform phy speed mask and phy speed macro.
Based on update above, add YT8821 2.5G phy driver.
Frank Sae (2
5 matches
Mail list logo