-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Ben Dooks
authored and
David S. Miller
committed
Feb 26, 2014
1 parent
94fcf69
commit 20d8435
Showing
2 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Micrel PHY properties. | ||
|
||
These properties cover the base properties Micrel PHYs. | ||
|
||
Optional properties: | ||
|
||
- micrel,led-mode : LED mode value to set for PHYs with configurable LEDs. | ||
|
||
Configure the LED mode with single value. The list of PHYs and | ||
the bits that are currently supported: | ||
|
||
KSZ8001: register 0x1e, bits 15..14 | ||
KSZ8041: register 0x1e, bits 15..14 | ||
KSZ8021: register 0x1f, bits 5..4 | ||
KSZ8031: register 0x1f, bits 5..4 | ||
KSZ8051: register 0x1f, bits 5..4 | ||
|
||
See the respective PHY datasheet for the mode values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters