[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170215142308.GB10670@lunn.ch>
Date: Wed, 15 Feb 2017 15:23:08 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Christian Lamparter <chunkeey@...glemail.com>
Cc: Florian Fainelli <f.fainelli@...il.com>, netdev@...r.kernel.org,
Christian Lamparter <chunkeey@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Ivan Mikhaylov <ivan@...ibm.com>,
vivien.didelot@...oirfairelinux.com
Subject: Re: [RFC 2/2] net: emac: add support for device-tree based PHY
discovery and setup
> > > Is the PHY just powered down by chance (BMCR_PWRDN set?) and resetting
> > > it implicitly clears the power down that seems to be what is going on.
> >
> > Yes, the PHY is just in the BMCR_PDOWN state. I can do the same
> > on the WNDR4700, by messing with u-boot:
Hi Christian
What happens if you list the PHYs in the device tree, with their PHY
ID. That should avoid it looking for the ID and getting 0xffff
back. It should just probe the correct PHY driver. If the first thing
the drivers probe function does it reset the power down bit, it might
work.
Andrew
Powered by blists - more mailing lists