net: phy: mediatek-ge-soc: sync driver with MediaTek SDK
authorDaniel Golle <daniel@makrotopia.org>
Wed, 24 Jan 2024 05:18:23 +0000 (05:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:35 +0000 (20:14 +0000)
commit0c2c97aa7706fd7483683569bda14136e3d75c43
tree64821b70de719a1fe81315ce8aa73f9f80286945
parent01b4ae7e15df0cdd4b1051ce246c20ea12a8a07e
net: phy: mediatek-ge-soc: sync driver with MediaTek SDK

[ Upstream commit ff63cc2e95065bea978d2db01f7e7356cca3d021 ]

Sync initialization and calibration routines with MediaTek's reference
driver. Improves compliance and resolves link stability issues with
CH340 IoT devices connected to MT798x built-in PHYs.

Fixes: 98c485eaf509 ("net: phy: add driver for MediaTek SoC built-in GE PHYs")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/f2195279c234c0f618946424b8236026126bc595.1706071311.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/mediatek-ge-soc.c