From 18593fa80b64801768be5657a3b41ef4533a9fc9 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Mon, 15 Oct 2018 13:16:48 +0300 Subject: [PATCH] net: mvpp2: increase PHY reset pulse The default Linux PHY reset delay is 10ms. This is also the requirement for Marvell 88E151x PHYs, which are likely to be used with this Ethernet MAC. Cc: Stefan Chulski Signed-off-by: Baruch Siach Acked-by: Joe Hershberger Reviewed-by: Stefan Roese --- drivers/net/mvpp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index 48728d168a..9b3ab25c19 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -4793,7 +4793,7 @@ static void mvpp2_gpio_init(struct mvpp2_port *port) { if (dm_gpio_is_valid(&port->phy_reset_gpio)) { dm_gpio_set_value(&port->phy_reset_gpio, 1); - udelay(1000); + mdelay(10); dm_gpio_set_value(&port->phy_reset_gpio, 0); } -- 2.30.2