[U-Boot] Ethernet PHY Power Down

Michael Welling mwelling at ieee.org
Fri Nov 6 23:57:28 CET 2015


On Fri, Nov 06, 2015 at 08:43:37PM -0200, Fabio Estevam wrote:
> On Fri, Nov 6, 2015 at 8:04 PM, Michael Welling <mwelling at ieee.org> 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


More information about the U-Boot mailing list