]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33f1c248ce16138e1a75f0e0df7814e7debbbf65
treee52a1fd45a4e146a6076aad4afd7a04bab6dffef
parenta51f7d899a97219df13c7bc6c2582aed2cf36833
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