Skip to content

Commit 64e5585

Browse files
Rafał Miłeckilag-linaro
authored andcommitted
dt-bindings: leds: Add LED_FUNCTION_WAN_ONLINE for Internet access
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. Link: https://lore.kernel.org/linux-devicetree/[email protected]/T/#u Signed-off-by: Rafał Miłecki <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 205c298 commit 64e5585

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/dt-bindings/leds/common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
#define LED_FUNCTION_TX "tx"
101101
#define LED_FUNCTION_USB "usb"
102102
#define LED_FUNCTION_WAN "wan"
103+
#define LED_FUNCTION_WAN_ONLINE "wan-online"
103104
#define LED_FUNCTION_WLAN "wlan"
104105
#define LED_FUNCTION_WLAN_2GHZ "wlan-2ghz"
105106
#define LED_FUNCTION_WLAN_5GHZ "wlan-5ghz"

0 commit comments

Comments
 (0)