From: Ken Lin <yungching0725@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] board: advantech: dms-ba16: apply the proper register setting to fix the voltage peak issue
Date: Wed, 29 Mar 2017 01:51:25 +0800 [thread overview]
Message-ID: <20170328175125.24199-4-yungching0725@gmail.com> (raw)
In-Reply-To: <20170328175125.24199-1-yungching0725@gmail.com>
Apply the proper setting for the reserved bits in SetDes Test and System Mode Control register
to avoid the voltage peak issue while we do the IEEE PHY comformance test
Signed-off-by: Ken Lin <yungching0725@gmail.com>
---
board/advantech/dms-ba16/dms-ba16.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/advantech/dms-ba16/dms-ba16.c b/board/advantech/dms-ba16/dms-ba16.c
index 75b0bbc2cc..91e96ab096 100644
--- a/board/advantech/dms-ba16/dms-ba16.c
+++ b/board/advantech/dms-ba16/dms-ba16.c
@@ -304,7 +304,8 @@ static int mx6_rgmii_rework(struct phy_device *phydev)
/* set debug port address: SerDes Test and System Mode Control */
phy_write(phydev, MDIO_DEVAD_NONE, 0x1d, 0x05);
/* enable rgmii tx clock delay */
- phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x100);
+ /* set the reserved bits to avoid board specific voltage peak issue*/
+ phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x3D47);
return 0;
}
--
2.11.0
next prev parent reply other threads:[~2017-03-28 17:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-28 17:51 [U-Boot] [PATCH 1/4] board: advantech: dms-ba16: Add the configuration options for display initialization Ken Lin
2017-03-28 17:51 ` [U-Boot] [PATCH 2/4] board: advantech: dms-ba16: add the PMIC configuration support Ken Lin
2017-04-06 15:24 ` Akshay Bhat
2017-03-28 17:51 ` [U-Boot] [PATCH 3/4] board: advantech: dms-ba16: fix AR8033 reset timing issue Ken Lin
2017-04-06 15:25 ` Akshay Bhat
2017-03-28 17:51 ` Ken Lin [this message]
2017-04-06 15:25 ` [U-Boot] [PATCH 4/4] board: advantech: dms-ba16: apply the proper register setting to fix the voltage peak issue Akshay Bhat
2017-04-06 15:24 ` [U-Boot] [PATCH 1/4] board: advantech: dms-ba16: Add the configuration options for display initialization Akshay Bhat
2017-04-12 16:05 ` Stefano Babic
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=20170328175125.24199-4-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.