All of lore.kernel.org
 help / color / mirror / Atom feed
From: Troy Kisky <troy.kisky@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional
Date: Mon, 4 Jan 2016 16:11:11 -0700	[thread overview]
Message-ID: <568AFC0F.6030901@boundarydevices.com> (raw)
In-Reply-To: <CAOMZO5Dj0pT7k0A1xLCpAAkcT-DbJKfuWF6s=cnqOG8v5Unzcw@mail.gmail.com>

On 1/4/2016 3:50 PM, Fabio Estevam wrote:
> On Mon, Jan 4, 2016 at 8:45 PM, Troy Kisky
> <troy.kisky@boundarydevices.com> wrote:
> 
>> Can you add
>>
>> printf("%s at %d\n", phydev->drv->name, phydev->addr);
> 
> It prints:
> 
> Generic PHY at 0
> 
> Not sure why it picks the Generic PHY driver instead of the Atheros PHY one.
> 

Try adding a delay after releasing reset

        mdelay(2);
        gpio_set_value(ETH_PHY_RESET, 1);
	udelay(100);

Perhaps the first time it didn't read 4dd072

  reply	other threads:[~2016-01-04 23:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-04 16:36 [U-Boot] [PATCH 1/2] mx6cuboxi: Fix the delay for the AR8035 PHY Fabio Estevam
2016-01-04 16:36 ` [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional Fabio Estevam
2016-01-04 19:59   ` Tom Rini
2016-01-04 20:40   ` Troy Kisky
2016-01-04 21:50     ` Fabio Estevam
2016-01-04 22:06       ` Troy Kisky
2016-01-04 22:08         ` Fabio Estevam
2016-01-04 22:10           ` Fabio Estevam
2016-01-04 22:45             ` Troy Kisky
2016-01-04 22:50               ` Fabio Estevam
2016-01-04 23:11                 ` Troy Kisky [this message]
2016-01-04 23:26                   ` Fabio Estevam
2016-01-04 22:30           ` Troy Kisky
2016-01-04 19:59 ` [U-Boot] [PATCH 1/2] mx6cuboxi: Fix the delay for the AR8035 PHY Tom Rini

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=568AFC0F.6030901@boundarydevices.com \
    --to=troy.kisky@boundarydevices.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.