forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'leds-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/pavel/linux-leds Pull LED updates from Pavel Machek: "Usual driver changes, some documentation that should hopefully get LED names standartized, and many fixes" * tag 'leds-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds: (32 commits) leds: pca955x: Switch to i2c probe_new leds: pca955x: Let the core process the fwnode leds: pca955x: Implement the default-state property leds: pca955x: Add brightness_get function leds: pca955x: Clean up code formatting leds: leds-core: Implement the retain-state-shutdown property dt-bindings: leds: Add retain-state-shutdown boolean Documentation: leds: standartizing LED names leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA leds: lp50xx: Fix chip name in KConfig leds: pwm: add support for default-state device property leds: move default_state read from fwnode to core leds: flash: Remove redundant initialization of variable ret leds: lgm-sso: Propagate error codes from callee to caller leds: trigger: audio: Add an activate callback to ensure the initial brightness is set leds: rt8515: Put fwnode in any case during ->probe() leds: lt3593: Put fwnode in any case during ->probe() leds: lm3697: Make error handling more robust leds: lm3697: Update header block to reflect reality leds: lm3692x: Correct headers (of*.h -> mod_devicetable.h) ...
- Loading branch information
Showing
30 changed files
with
441 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
-*- org -*- | ||
|
||
It is somehow important to provide consistent interface to the | ||
userland. LED devices have one problem there, and that is naming of | ||
directories in /sys/class/leds. It would be nice if userland would | ||
just know right "name" for given LED function, but situation got more | ||
complex. | ||
|
||
Anyway, if backwards compatibility is not an issue, new code should | ||
use one of the "good" names from this list, and you should extend the | ||
list where applicable. | ||
|
||
Legacy names are listed, too; in case you are writing application that | ||
wants to use particular feature, you should probe for good name, first, | ||
but then try the legacy ones, too. | ||
|
||
Notice there's a list of functions in include/dt-bindings/leds/common.h . | ||
|
||
* Keyboards | ||
|
||
Good: "input*:*:capslock" | ||
Good: "input*:*:scrolllock" | ||
Good: "input*:*:numlock" | ||
Legacy: "shift-key-light" (Motorola Droid 4, capslock) | ||
|
||
Set of common keyboard LEDs, going back to PC AT or so. | ||
|
||
Legacy: "tpacpi::thinklight" (IBM/Lenovo Thinkpads) | ||
Legacy: "lp5523:kb{1,2,3,4,5,6}" (Nokia N900) | ||
|
||
Frontlight/backlight of main keyboard. | ||
|
||
Legacy: "button-backlight" (Motorola Droid 4) | ||
|
||
Some phones have touch buttons below screen; it is different from main | ||
keyboard. And this is their backlight. | ||
|
||
* Sound subsystem | ||
|
||
Good: "platform:*:mute" | ||
Good: "platform:*:micmute" | ||
|
||
LEDs on notebook body, indicating that sound input / output is muted. | ||
|
||
* System notification | ||
|
||
Legacy: "status-led:{red,green,blue}" (Motorola Droid 4) | ||
Legacy: "lp5523:{r,g,b}" (Nokia N900) | ||
|
||
Phones usually have multi-color status LED. | ||
|
||
* Power management | ||
|
||
Good: "platform:*:charging" (allwinner sun50i) | ||
|
||
* Screen | ||
|
||
Good: ":backlight" (Motorola Droid 4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2849,7 +2849,7 @@ AS3645A LED FLASH CONTROLLER DRIVER | |
M: Sakari Ailus <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: drivers/leds/leds-as3645a.c | ||
F: drivers/leds/flash/leds-as3645a.c | ||
|
||
ASAHI KASEI AK7375 LENS VOICE COIL DRIVER | ||
M: Tianshu Qiu <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.