]> 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)
commit5cd8c6b2adc8aa7ef768fdeda0b2da50e445fa75
treef452027a1a189243408283d5c54d931281e52029
parent9bc442a9e2182fdad528b845c21526829b02e638
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