]> git.baikalelectronics.ru Git - kernel.git/commit
phy: micrel: add of configuration for LED mode
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 26 Feb 2014 11:48:00 +0000 (11:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 22:00:07 +0000 (17:00 -0500)
commit26f18b63066d6690b08ddc9581854d79fe7ea0b9
tree1ac5904dc1e1cc1ff64ebc66f7a312772bef0b24
parentf02c6b609117499356877d7abf9a9a818cc16f60
phy: micrel: add of configuration for LED mode

Add support for the led-mode property for the following PHYs
which have a single LED mode configuration value.

KSZ8001 and KSZ8041 which both use register 0x1e bits 15,14 and
KSZ8021, KSZ8031 and KSZ8051 which use register 0x1f bits 5,4
to control the LED configuration.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/micrel.txt [new file with mode: 0644]
drivers/net/phy/micrel.c