dt-bindings: leds: Add LED_FUNCTION_WAN_ONLINE for Internet access
Subsystems (2)
PATCH 1/1 dt-bindings: leds: Add LED_FUNCTION_WAN_ONLINE for Internet access
From: Rafał Miłecki <[email protected]>
It's common for routers to have LED indicating link on the WAN port.
Some devices however have an extra LED that's meant to be used if WAN connection is actually "online" (there is Internet access available).
It was suggested to add #define for such use case.
--- include/dt-bindings/leds/common.h | 1 + 1 file changed, 1 insertion(+)
include/dt-bindings/leds/common.h +1 -0
@@ -100,6 +100,7 @@#define LED_FUNCTION_TX "tx"#define LED_FUNCTION_USB "usb"#define LED_FUNCTION_WAN "wan" +#define LED_FUNCTION_WAN_ONLINE "wan-online"#define LED_FUNCTION_WLAN "wlan"#define LED_FUNCTION_WLAN_2GHZ "wlan-2ghz"#define LED_FUNCTION_WLAN_5GHZ "wlan-5ghz"
Signature · 1 line
2.35.3
Il 23/02/24 12:22, Rafał Miłecki ha scritto:
Quoted 8 lines
From: Rafał Miłecki <[email protected]>
It's common for routers to have LED indicating link on the WAN port.
Some devices however have an extra LED that's meant to be used if WAN connection is actually "online" (there is Internet access available).
It was suggested to add #define for such use case.
In this case, you can use the Suggested-by tag, but I'm not picky anyway :-)
Quoted 3 lines
Re: (subset) [PATCH] dt-bindings: leds: Add LED_FUNCTION_WAN_ONLINE for Internet access
In reply to Rafał MiłeckiQuoted 8 lines · Rafał Miłecki
It's common for routers to have LED indicating link on the WAN port.
Some devices however have an extra LED that's meant to be used if WAN connection is actually "online" (there is Internet access available).
It was suggested to add #define for such use case.
[...]
Applied, thanks!
[1/1] dt-bindings: leds: Add LED_FUNCTION_WAN_ONLINE for Internet access
commit: c0ef9799df8756968c236720658e492fbe636064
--
Lee Jones [李琼斯]
Quoted 11 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
It's common for routers to have LED indicating link on the WAN port.
Some devices however have an extra LED that's meant to be used if WAN connection is actually "online" (there is Internet access available).
It was suggested to add #define for such use case.
That looks helpful.
Yours,
Linus Walleij