From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welling Date: Fri, 6 Nov 2015 16:57:28 -0600 Subject: [U-Boot] Ethernet PHY Power Down In-Reply-To: References: <20151106202222.GC30552@deathstar> <20151106220429.GB27901@qwerty.qwertyembedded> Message-ID: <20151106225728.GA6114@deathstar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Nov 06, 2015 at 08:43:37PM -0200, Fabio Estevam wrote: > On Fri, Nov 6, 2015 at 8:04 PM, Michael Welling wrote: > > So I added the following lines to my board_phy_config function and the problem > > seems to be fixed: It appears that I spoke to soon. Occassionally the autonegiotation still times out. This may be a separate issue. I will keep everyone updated. > > . > > . > > ctl = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMCR); > > if (ctl & BMCR_PDOWN) { > > ctl &= ~BMCR_PDOWN; > > phy_write(phydev, MDIO_DEVAD_NONE, MII_BMCR, ctl); > > mdelay(15); > > } > > . > > . > > > > Should this be handled somewhere in the PHY driver core? > > > > Adding Joe for his comments. > > Regards, > > Fabio Estevam