From: Yung-Ching LIN Date: Tue, 21 Feb 2017 01:56:56 +0000 (+0800) Subject: board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue X-Git-Tag: v2017.05-rc1~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec7aa8fd677f52a6175265aeb7b7f0345d9850c2;p=platform%2Fkernel%2Fu-boot.git board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue 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 Reviewed-by: Stefano Babic Acked-by: Ian Ray --- diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index 80b4ba1..0acf655 100644 --- a/board/ge/bx50v3/bx50v3.c +++ b/board/ge/bx50v3/bx50v3.c @@ -307,7 +307,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; }