aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-05-11 06:37:30 +0200
committerShawn Guo <shawnguo@kernel.org>2021-05-23 11:32:46 +0800
commit5fff104f04dca67eb099026e88234b0ed3f8cb27 (patch)
tree3b20964ee9db953e8d09e8d850ba25b08f7f583d /arch/arm
parentARM: imx6q: remove PHY fixup for KSZ9031 (diff)
downloadlinux-dev-5fff104f04dca67eb099026e88234b0ed3f8cb27.tar.xz
linux-dev-5fff104f04dca67eb099026e88234b0ed3f8cb27.zip
ARM: imx6q: remove part of ar8031_phy_fixup()
This part of this fixup is overwritten by at803x_config_init() in drivers/net/phy/at803x.c. No additional devicetree fixes are needed. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/mach-imx6q.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c
index 78205f90da27..1abefe7e1c3a 100644
--- a/arch/arm/mach-imx/mach-imx6q.c
+++ b/arch/arm/mach-imx/mach-imx6q.c
@@ -82,12 +82,6 @@ static int ar8031_phy_fixup(struct phy_device *dev)
val |= 0x18;
phy_write(dev, 0xe, val);
- /* introduce tx clock delay */
- phy_write(dev, 0x1d, 0x5);
- val = phy_read(dev, 0x1e);
- val |= 0x0100;
- phy_write(dev, 0x1e, val);
-
return 0;
}