projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88c0ef6
)
dt-bindings: leds: Add LED_FUNCTION_FNLOCK
author
Gergo Koteles
<soyer@irl.hu>
Tue, 2 Apr 2024 13:21:00 +0000
(15:21 +0200)
committer
Hans de Goede
<hdegoede@redhat.com>
Mon, 15 Apr 2024 13:33:24 +0000
(15:33 +0200)
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>
include/dt-bindings/leds/common.h
patch
|
blob
|
history
diff --git
a/include/dt-bindings/leds/common.h
b/include/dt-bindings/leds/common.h
index ecea167930d95f684768c6ffb39eef4fc4550b37..d7c980bdf3834bacc5f322f3d025fdb2a58ab4a9 100644
(file)
--- 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"