kernel: bump 6.6 to 6.6.23
[openwrt/openwrt.git] / target / linux / generic / backport-6.6 / 800-v6.9-0001-dt-bindings-leds-Add-FUNCTION-defines-for-per-band-W.patch
1 From ec18a2a83b8b9f7e39c80105ea148c769c46227b Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Wed, 17 Jan 2024 16:17:36 +0100
4 Subject: [PATCH] dt-bindings: leds: Add FUNCTION defines for per-band WLANs
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Most wireless routers and access points can operate in multiple bands
10 simultaneously. Vendors often equip their devices with per-band LEDs.
11
12 Add defines for those very common functions to allow cleaner & clearer
13 bindings.
14
15 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
16 Acked-by: Rob Herring <robh@kernel.org>
17 Link: https://lore.kernel.org/r/20240117151736.27440-1-zajec5@gmail.com
18 Signed-off-by: Lee Jones <lee@kernel.org>
19 ---
20 include/dt-bindings/leds/common.h | 3 +++
21 1 file changed, 3 insertions(+)
22
23 --- a/include/dt-bindings/leds/common.h
24 +++ b/include/dt-bindings/leds/common.h
25 @@ -101,6 +101,9 @@
26 #define LED_FUNCTION_USB "usb"
27 #define LED_FUNCTION_WAN "wan"
28 #define LED_FUNCTION_WLAN "wlan"
29 +#define LED_FUNCTION_WLAN_2GHZ "wlan-2ghz"
30 +#define LED_FUNCTION_WLAN_5GHZ "wlan-5ghz"
31 +#define LED_FUNCTION_WLAN_6GHZ "wlan-6ghz"
32 #define LED_FUNCTION_WPS "wps"
33
34 #endif /* __DT_BINDINGS_LEDS_H */