Re: [PATCH 2/2] dt-bindings: leds: add LED_FUNCTION_SPEED_* for link speed on LAN/WAN

From: Rob Herring
Date: Fri Mar 22 2024 - 10:54:47 EST



On Wed, 20 Mar 2024 21:43:17 +0900, INAGAKI Hiroshi wrote:
> 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@xxxxxxxxx>
> ---
> include/dt-bindings/leds/common.h | 2 ++
> 1 file changed, 2 insertions(+)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>