]> 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)
commit6f17162ae1c57fcbfa71737ca8a42fdbf6b7b23d
tree1ac5904dc1e1cc1ff64ebc66f7a312772bef0b24
parent38f61b6e071e9d0e763a5de4ce48564b007a83cd
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