]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/phy: micrel: Add clock support for KSZ8021/KSZ8031
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 10 Oct 2014 07:48:05 +0000 (09:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Oct 2014 19:35:13 +0000 (15:35 -0400)
commit1fadee0c364572f2b2e098b34001fbaa82ee2e00
tree809996015492996af409f7458fd7ecf4419365ca
parent5af7fb6e3e92c2797ee30d66138cf6aa6b29240d
net/phy: micrel: Add clock support for KSZ8021/KSZ8031

The KSZ8021 and KSZ8031 support RMII reference input clocks of 25MHz
and 50MHz. Both PHYs differ in the default frequency they expect
after reset. If this differs from the actual input clock, then
register 0x1f bit 7 must be changed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/micrel.txt
drivers/net/phy/micrel.c
include/linux/micrel_phy.h