From 64e558500d2d04878b8a6d6578850c475171d6ba Mon Sep 17 00:00:00 2001 From: Rafał Miłecki Date: Fri, 23 Feb 2024 12:22:23 +0100 Subject: dt-bindings: leds: Add LED_FUNCTION_WAN_ONLINE for Internet access MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/80e92209-5578-44e7-bd4b-603a29053ddf@collabora.com/T/#u Signed-off-by: Rafał Miłecki Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20240223112223.1368-1-zajec5@gmail.com Signed-off-by: Lee Jones --- include/dt-bindings/leds/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/dt-bindings') diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h index c56785bb9c9c..ecea167930d9 100644 --- a/include/dt-bindings/leds/common.h +++ b/include/dt-bindings/leds/common.h @@ -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" -- cgit v1.2.3