]> git.karo-electronics.de Git - linux-beck.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)
commit20d8435a1cffa04992f1db6b199a5f0ccec2ff06
tree1ac5904dc1e1cc1ff64ebc66f7a312772bef0b24
parent94fcf6964c797cc24c84c677e106dbce676a0374
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