]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: motorcomm: Optimize phy speed mask to be compatible to YT8821
authorFrank Sae <Frank.Sae@motor-comm.com>
Thu, 12 Sep 2024 12:02:24 +0000 (05:02 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 27 Oct 2024 16:19:02 +0000 (10:19 -0600)
commita1211a5f6bf655ca039988e3501e85e1f27078c6
tree216499b00417409819721d29cd80cdee325d2ab6
parentff994a3c2ed0e8d233bcc6f0176ef21ea9c75009
net: phy: motorcomm: Optimize phy speed mask to be compatible to YT8821

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 <Frank.Sae@motor-comm.com>
drivers/net/phy/motorcomm.c