You've already forked linux-t2-patches
mirror of
https://github.com/t2linux/linux-t2-patches.git
synced 2026-04-30 13:52:11 -07:00
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From e34c6d09241ba826a6e9b2b0e50e306b273b7bda Mon Sep 17 00:00:00 2001
|
|
From: Orlando Chamberlain <orlandoch.dev@gmail.com>
|
|
Date: Thu, 16 Feb 2023 12:32:34 +1100
|
|
Subject: [PATCH 5/8] Documentation: leds: standardise keyboard backlight led
|
|
names
|
|
|
|
Advice use of either "input*:*:kbd_backlight" or ":*:kbd_backlight". We
|
|
don't want people using vendor or product name (e.g. "smc", "apple",
|
|
"asus") as this information is available from sysfs anyway, and it made the
|
|
folder names inconsistent.
|
|
|
|
Signed-off-by: Orlando Chamberlain <orlandoch.dev@gmail.com>
|
|
---
|
|
Documentation/leds/well-known-leds.txt | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/Documentation/leds/well-known-leds.txt b/Documentation/leds/well-known-leds.txt
|
|
index 2160382c86be..4e5429fce4d8 100644
|
|
--- a/Documentation/leds/well-known-leds.txt
|
|
+++ b/Documentation/leds/well-known-leds.txt
|
|
@@ -44,6 +44,14 @@ Legacy: "lp5523:kb{1,2,3,4,5,6}" (Nokia N900)
|
|
|
|
Frontlight/backlight of main keyboard.
|
|
|
|
+Good: ":*:kbd_backlight"
|
|
+Good: "input*:*:kbd_backlight"
|
|
+Legacy: "*:*:kbd_backlight"
|
|
+
|
|
+Many drivers have the vendor or product name as the first field of the led name,
|
|
+this makes names inconsistent and is redundant as that information is already in
|
|
+sysfs.
|
|
+
|
|
Legacy: "button-backlight" (Motorola Droid 4)
|
|
|
|
Some phones have touch buttons below screen; it is different from main
|
|
--
|
|
2.39.1
|
|
|