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)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 10 Dec 2014 04:50:21 +0000 (13:50 +0900)
commit9bf3b993aeca308d322e62bf2dfa54563329fa28
tree174426687fd64d50a552f5c90a1d2a8e377a5112
parent3f24140ff66ec61af497d4fb6d9bae0d9ebf2aca
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>
(cherry picked from commit 20d8435a1cffa04992f1db6b199a5f0ccec2ff06)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Documentation/devicetree/bindings/net/micrel.txt [new file with mode: 0644]
drivers/net/phy/micrel.c