From: Ken Lin <yungching0725@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/2] board: ge: bx50v3: fix AR8033 reset timing issue
Date: Sat, 18 Feb 2017 07:14:10 +0800 [thread overview]
Message-ID: <20170217231411.14469-1-yungching0725@gmail.com> (raw)
Add the delay (10ms) to ensure the clock is stable and to meet the clock-to-reset(1ms) requirement recommended in the AR8033 datasheet
Signed-off-by: Ken Lin <yungching0725@gmail.com>
---
Changes from v1
- Fix the missing Signed-off-by issue
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 2fc1144cda..80b4ba1b8b 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.11.0
next reply other threads:[~2017-02-17 23:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 23:14 Ken Lin [this message]
2017-02-17 23:14 ` [U-Boot] [PATCH v2 2/2] board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue Ken Lin
2017-02-21 1:56 [U-Boot] [PATCH v2 1/2] board: ge: bx50v3: fix AR8033 reset timing issue Ken Lin
2017-02-21 15:30 ` Stefano Babic
[not found] ` <WM!730f595a27f7608876c1195882ab23c1180b3361c6b26d67c0071fae5e6b2b2df39654e4568fd2472a7b702e69d6a703!@dg.advantech.com>
2017-03-21 12:58 ` Ray, Ian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170217231411.14469-1-yungching0725@gmail.com \
--to=yungching0725@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.