mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] net: fec: set phy reset time to 1ms
@ 2015-11-16  9:00 Stefan Christ
  2015-11-16  9:00 ` [PATCH 2/3] net: fec: implement dtb property phy-reset-duration Stefan Christ
  2015-11-16  9:00 ` [PATCH 3/3] net: fec: fix indentation and whitspaces Stefan Christ
  0 siblings, 2 replies; 7+ messages in thread
From: Stefan Christ @ 2015-11-16  9:00 UTC (permalink / raw)
  To: barebox

According to the device tree bindings in dts/Bindings/net/fsl-fec.txt
the default phy-reset time is 1ms.

Signed-off-by: Stefan Christ <s.christ@phytec.de>
---
 drivers/net/fec_imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 78ccb85..f19d046 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -692,7 +692,7 @@ static int fec_probe(struct device_d *dev)
 		if (ret)
 			goto err_free;
 
-		udelay(10);
+		mdelay(1);
 		gpio_set_value(phy_reset, 1);
 	}
 
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-11-17 19:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-16  9:00 [PATCH 1/3] net: fec: set phy reset time to 1ms Stefan Christ
2015-11-16  9:00 ` [PATCH 2/3] net: fec: implement dtb property phy-reset-duration Stefan Christ
     [not found]   ` <CAOpc7mGnHmYOVvOWygYUs+1dqdsZYtW-T=8ruNwDt-U1bQNvMg@mail.gmail.com>
2015-11-16 10:17     ` Stefan Christ
2015-11-17  9:32       ` Sascha Hauer
2015-11-17 14:38         ` [PATCH 2/3] net: fec: implement dtb property phy-reset-durationy Stefan Christ
2015-11-17 19:18           ` Sascha Hauer
2015-11-16  9:00 ` [PATCH 3/3] net: fec: fix indentation and whitspaces Stefan Christ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox