aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGergo Koteles <[email protected]>2024-04-02 15:21:00 +0200
committerHans de Goede <[email protected]>2024-04-15 15:33:24 +0200
commit7ab6c64663a001723e7febbf444afce93910d26b (patch)
tree73f1a5231bf4e76ec9b0d263e080397c8b270f5c
parent88c0ef69dd881d8acceb62c48b66674367c962b7 (diff)
dt-bindings: leds: Add LED_FUNCTION_FNLOCK
Newer laptops have FnLock LED. Add a define for this very common function. Signed-off-by: Gergo Koteles <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Acked-by: Lee Jones <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/8ac95e85a53dc0b8cce1e27fc1cab6d19221543b.1712063200.git.soyer@irl.hu Signed-off-by: Hans de Goede <[email protected]>
-rw-r--r--include/dt-bindings/leds/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
index ecea167930d9..d7c980bdf383 100644
--- a/include/dt-bindings/leds/common.h
+++ b/include/dt-bindings/leds/common.h
@@ -46,6 +46,7 @@
#define LED_FUNCTION_CAPSLOCK "capslock"
#define LED_FUNCTION_SCROLLLOCK "scrolllock"
#define LED_FUNCTION_NUMLOCK "numlock"
+#define LED_FUNCTION_FNLOCK "fnlock"
/* Obsolete equivalents: "tpacpi::thinklight" (IBM/Lenovo Thinkpads),
"lp5523:kb{1,2,3,4,5,6}" (Nokia N900) */
#define LED_FUNCTION_KBD_BACKLIGHT "kbd_backlight"