]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel: add support for clock-mode select to KSZ8081/KSZ8091
authorJohan Hovold <johan@kernel.org>
Wed, 19 Nov 2014 11:59:19 +0000 (12:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:08:56 +0000 (14:08 -0500)
commiteb3f51693536421793fc8c2f418d8fa30bc16db5
treef452027a1a189243408283d5c54d931281e52029
parentf7918512c1e49485ed0595c86924978af6b6926c
net: phy: micrel: add support for clock-mode select to KSZ8081/KSZ8091

Micrel KSZ8081 and KSZ8091 PHYs have the RMII Reference Clock Select
bit, which is used to select 25 or 50 MHz clock mode.

Note that on some revisions of the PHY (e.g. KSZ8081RND) the function of
this bit is inverted so that setting it enables 25 rather than 50 MHz
mode. Add a new device-tree property
"micrel,rmii-reference-clock-select-25-mhz" to describe this.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/micrel.txt
drivers/net/phy/micrel.c