* [U-Boot] [PATCH 1/2] board: ge: bx50v3: fix AR8033 reset timing issue
@ 2017-02-01 19:59 ken
2017-02-03 1:15 ` Fabio Estevam
0 siblings, 1 reply; 2+ messages in thread
From: ken @ 2017-02-01 19:59 UTC (permalink / raw)
To: u-boot
Add the delay (10ms) to ensure the clock is stable and to meet the clock-to-reset(1ms) requirement recommended in the AR8033 datasheet
---
board/ge/bx50v3/bx50v3.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c
index 2fc1144..80b4ba1 100644
--- a/board/ge/bx50v3/bx50v3.c
+++ b/board/ge/bx50v3/bx50v3.c
@@ -103,8 +103,9 @@ static void setup_iomux_enet(void)
/* Reset AR8033 PHY */
gpio_direction_output(IMX_GPIO_NR(1, 28), 0);
- udelay(500);
+ mdelay(10);
gpio_set_value(IMX_GPIO_NR(1, 28), 1);
+ mdelay(1);
}
static iomux_v3_cfg_t const usdhc2_pads[] = {
--
2.10.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 1/2] board: ge: bx50v3: fix AR8033 reset timing issue
2017-02-01 19:59 [U-Boot] [PATCH 1/2] board: ge: bx50v3: fix AR8033 reset timing issue ken
@ 2017-02-03 1:15 ` Fabio Estevam
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2017-02-03 1:15 UTC (permalink / raw)
To: u-boot
On Wed, Feb 1, 2017 at 5:59 PM, ken <Ken Lin> <yungching0725@gmail.com> wrote:
> Add the delay (10ms) to ensure the clock is stable and to meet the clock-to-reset(1ms) requirement recommended in the AR8033 datasheet
> ---
Your Signed-off-by is missing.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-03 1:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-01 19:59 [U-Boot] [PATCH 1/2] board: ge: bx50v3: fix AR8033 reset timing issue ken
2017-02-03 1:15 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox