kernel: add pending patches for new LED_FUNCTION_* definitions
[openwrt/staging/stintel.git] / target / linux / generic / pending-6.6 / 880-01-dt-bindings-leds-add-LED_FUNCTION_MOBILE-for-mobile-.patch
1 From 38eb5b3370c29515d2ce92adac2d6eba96f276f5 Mon Sep 17 00:00:00 2001
2 From: INAGAKI Hiroshi <musashino.open@gmail.com>
3 Date: Wed, 20 Mar 2024 15:32:18 +0900
4 Subject: [PATCH v2 1/2] dt-bindings: leds: add LED_FUNCTION_MOBILE for mobile
5 network
6
7 Add LED_FUNCTION_MOBILE for LEDs that indicate status of mobile network
8 connection. This is useful to distinguish those LEDs from LEDs that
9 indicates status of wired "wan" connection.
10
11 example (on stock fw):
12
13 IIJ SA-W2 has "Mobile" LEDs that indicate status (no signal, too low,
14 low, good) of mobile network connection via dongle connected to USB
15 port.
16
17 - no signal: (none, turned off)
18 - too low: green:mobile & red:mobile (amber, blink)
19 - low: green:mobile & red:mobile (amber, turned on)
20 - good: green:mobile (turned on)
21
22 Suggested-by: Hauke Mehrtens <hauke@hauke-m.de>
23 Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
24 ---
25 include/dt-bindings/leds/common.h | 1 +
26 1 file changed, 1 insertion(+)
27
28 --- a/include/dt-bindings/leds/common.h
29 +++ b/include/dt-bindings/leds/common.h
30 @@ -90,6 +90,7 @@
31 #define LED_FUNCTION_INDICATOR "indicator"
32 #define LED_FUNCTION_LAN "lan"
33 #define LED_FUNCTION_MAIL "mail"
34 +#define LED_FUNCTION_MOBILE "mobile"
35 #define LED_FUNCTION_MTD "mtd"
36 #define LED_FUNCTION_PANIC "panic"
37 #define LED_FUNCTION_PROGRAMMING "programming"