summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorGergo Koteles <soyer@irl.hu>2024-04-02 16:21:00 +0300
committerHans de Goede <hdegoede@redhat.com>2024-04-15 16:33:24 +0300
commit7ab6c64663a001723e7febbf444afce93910d26b (patch)
tree73f1a5231bf4e76ec9b0d263e080397c8b270f5c /include/dt-bindings
parent88c0ef69dd881d8acceb62c48b66674367c962b7 (diff)
downloadlinux-7ab6c64663a001723e7febbf444afce93910d26b.tar.xz
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 <soyer@irl.hu> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Lee Jones <lee@kernel.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/8ac95e85a53dc0b8cce1e27fc1cab6d19221543b.1712063200.git.soyer@irl.hu Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/dt-bindings')
-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"