[PATCH v1 2/2] net: phy: Add driver for Motorcomm YT8521S Gigabit ethernet phy

2024-11-24 Thread Frank Sae
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

[PATCH v1 1/2] net: phy: Add driver for Motorcomm YT8531S Gigabit ethernet phy

2024-11-24 Thread Frank Sae
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

[PATCH v1 2/2] net: phy: motorcomm: Add driver for Motorcomm YT8821 2.5G ethernet phy

2024-09-12 Thread Frank Sae
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

[PATCH v1 1/2] net: phy: motorcomm: Optimize phy speed mask to be compatible to YT8821

2024-09-12 Thread Frank Sae
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

[PATCH v1 0/2] Add driver for Motorcomm YT8821 2.5G ethernet phy

2024-09-12 Thread Frank Sae
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