From: Stefan Roese Date: Mon, 22 Oct 2018 16:07:13 +0200 Subject: [U-Boot] [PATCH 2/2] net: mvpp2: increase PHY reset pulse In-Reply-To: References: Message-ID: <0ef5888b-ce4f-e04f-2d1b-f67140236841@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15.10.18 12:16, Baruch Siach wrote: > 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 > --- > 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 b3b1fe1a0c41..f28b939b17dc 100644 > --- a/drivers/net/mvpp2.c > +++ b/drivers/net/mvpp2.c > @@ -4806,7 +4806,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); > + udelay(10000); > dm_gpio_set_value(&port->phy_reset_gpio, 0); > } > > Reviewed-by: Stefan Roese Thanks, Stefan