stmmac: dwmac-mediatek: remove the dwmac_fix_mac_speed
authorBiao Huang <biao.huang@mediatek.com>
Thu, 5 Jan 2023 01:07:11 +0000 (09:07 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Jan 2023 04:59:16 +0000 (20:59 -0800)
commitc26de7507d1f5ffa5daf6a4980ef7896889691a9
treeef44d35f487b81e873406bb8c4887fe83dd4e06d
parent50011c32f421215f6231996fcc84fd1fe81c4a48
stmmac: dwmac-mediatek: remove the dwmac_fix_mac_speed

In current driver, MAC will always enable 2ns delay in RGMII mode,
but that's not the correct usage.

Remove the dwmac_fix_mac_speed() in driver, and recommend "rgmii-id"
for phy-mode in device tree.

Fixes: f2d356a6ab71 ("stmmac: dwmac-mediatek: add support for mt8195")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c