dt-bindings: leds: Add LED_FUNCTION_SPEED_* for link speed on LAN/WAN
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 23 Mar 2024 07:36:10 +0000 (16:36 +0900)
committerLee Jones <lee@kernel.org>
Fri, 12 Apr 2024 08:47:13 +0000 (09:47 +0100)
commit77b9f2d6fd9bf34ec810de6bdad42d7d0a47d31b
tree882c981a85534d432b78141bf72172cd924c68cc
parent7d36c3573391dcf0da089298a4b5a25c39f7289d
dt-bindings: leds: Add LED_FUNCTION_SPEED_* for link speed on LAN/WAN

Add LED_FUNCTION_SPEED_LAN and LED_FUNCTION_SPEED_WAN for LEDs that
indicate link speed of ethernet ports on LAN/WAN. This is useful to
distinguish those LEDs from LEDs that indicate link status (up/down).

example:

Fortinet FortiGate 30E/50E have LEDs that indicate link speed on each
of the ethernet ports in addition to LEDs that indicate link status
(up/down).

- 1000 Mbps: green:speed-(lan|wan)-N
-  100 Mbps: amber:speed-(lan|wan)-N
-   10 Mbps: (none, turned off)

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240323074326.1428-3-musashino.open@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
include/dt-bindings/leds/common.h