From: Baruch Siach Date: Mon, 15 Oct 2018 10:16:48 +0000 (+0300) Subject: net: mvpp2: increase PHY reset pulse X-Git-Tag: v2025.01-rc5-pxa1908~3319^2~1 X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=18593fa80b64801768be5657a3b41ef4533a9fc9;p=u-boot.git 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 --- 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); }