kernel: bump 6.6 to 6.6.23
[openwrt/openwrt.git] / target / linux / generic / backport-6.6 / 800-v6.9-0002-dt-bindings-leds-Add-LED_FUNCTION_WAN_ONLINE-for-Int.patch
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
5 access
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 It's common for routers to have LED indicating link on the WAN port.
11
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).
14
15 It was suggested to add #define for such use case.
16
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>
22 ---
23 include/dt-bindings/leds/common.h | 1 +
24 1 file changed, 1 insertion(+)
25
26 --- a/include/dt-bindings/leds/common.h
27 +++ b/include/dt-bindings/leds/common.h
28 @@ -100,6 +100,7 @@
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"