net/phy: micrel: Add OF configuration support for ksz9021
authorSean Cross <xobs@kosagi.com>
Wed, 21 Aug 2013 01:46:12 +0000 (01:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 07:03:38 +0000 (00:03 -0700)
commit954c396756e3d31985f7bc6a414a988a4736a7d0
treee52a1fd45a4e146a6076aad4afd7a04bab6dffef
parent9fd0784164047583fa856c9a5aeda1d6c6fb0399
net/phy: micrel: Add OF configuration support for ksz9021

Some boards require custom PHY configuration, for example due to trace
length differences.  Add the ability to configure these registers in
order to get the PHY to function on boards that need it.

Because PHYs are auto-detected based on MDIO device IDs, allow PHY
configuration to be specified in the parent Ethernet device node if no
PHY device node is present.

Signed-off-by: Sean Cross <xobs@kosagi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/micrel-ksz9021.txt [new file with mode: 0644]
drivers/net/phy/micrel.c