1 From 64e558500d2d04878b8a6d6578850c475171d6ba Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 23 Feb 2024 12:22:23 +0100
4 Subject: [PATCH] dt-bindings: leds: Add LED_FUNCTION_WAN_ONLINE for Internet
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 It's common for routers to have LED indicating link on the WAN port.
12 Some devices however have an extra LED that's meant to be used if WAN
13 connection is actually "online" (there is Internet access available).
15 It was suggested to add #define for such use case.
17 Link: https://lore.kernel.org/linux-devicetree/80e92209-5578-44e7-bd4b-603a29053ddf@collabora.com/T/#u
18 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
19 Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
20 Link: https://lore.kernel.org/r/20240223112223.1368-1-zajec5@gmail.com
21 Signed-off-by: Lee Jones <lee@kernel.org>
23 include/dt-bindings/leds/common.h | 1 +
24 1 file changed, 1 insertion(+)
26 --- a/include/dt-bindings/leds/common.h
27 +++ b/include/dt-bindings/leds/common.h
29 #define LED_FUNCTION_TX "tx"
30 #define LED_FUNCTION_USB "usb"
31 #define LED_FUNCTION_WAN "wan"
32 +#define LED_FUNCTION_WAN_ONLINE "wan-online"
33 #define LED_FUNCTION_WLAN "wlan"
34 #define LED_FUNCTION_WLAN_2GHZ "wlan-2ghz"
35 #define LED_FUNCTION_WLAN_5GHZ "wlan-5ghz"