Thread (26 messages) 26 messages, 3 authors, 2014-09-23

Re: [PATCH v4 3/9] Documentation: bindings: net: add the Marvell PXA168 Ethernet controller

From: Arnd Bergmann <arnd@arndb.de>
Date: 2014-09-23 14:34:26
Also in: linux-arm-kernel, linux-devicetree, lkml

On Tuesday 23 September 2014 16:01:13 Antoine Tenart wrote:
On Tue, Sep 23, 2014 at 02:38:39PM +0200, Arnd Bergmann wrote:
quoted
On Tuesday 23 September 2014 14:15:30 Antoine Tenart wrote:
quoted
+Optional properties:
+- port-id: should be '0','1' or '2'.
+- phy-addr: MDIO address of the PHY.
+- local-mac-address: see ethernet.txt file in the same directory.
+
I believe new bindings should not use "phy-addr" properties, but
instead use a phy-handle property pointing to a phy device instead.
That's the MDIO address of the PHY. It's a bit difficult to use a phy
device as the driver uses the libphy. And that would break the platform
using it.

Or maybe you have something in mind?
I don't understand what you mean. Doesn't libphy imply using a phy_device?
What I meant was that you should be able to just call the standard
of_phy_connect() and other interfaces to deal with phylib.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help