public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michael Welling <mwelling@ieee.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Ethernet PHY Power Down
Date: Fri, 6 Nov 2015 16:57:28 -0600	[thread overview]
Message-ID: <20151106225728.GA6114@deathstar> (raw)
In-Reply-To: <CAOMZO5C8humyh_iLmtL0mzFO4=JZ9BEVNVdOJg0TLo7SbjCHgw@mail.gmail.com>

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@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

  reply	other threads:[~2015-11-06 22:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06 20:22 [U-Boot] Ethernet PHY Power Down Michael Welling
2015-11-06 21:22 ` Fabio Estevam
2015-11-06 21:47   ` Michael Welling
2015-11-06 22:04   ` Michael Welling
2015-11-06 22:43     ` Fabio Estevam
2015-11-06 22:57       ` Michael Welling [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-11-05 23:06 Michael Welling

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=20151106225728.GA6114@deathstar \
    --to=mwelling@ieee.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox