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.
drivers: leds: Add core support for multi color element LEDs
Adds support to manage multi color element LEDs into led core and led class. For user space new sysfs nodes 'color' and 'max_color' are provided allowing atomic change for color elements and brightnes of whole LED. For kernel space adds new color element data structures and helpers are also provided to aid in keeping logic low in LED drivers and let LED core to provide support for calculating brightness for individual LED elements. Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
- Loading branch information
1 parent
8fe28cb
commit 55d5539
Showing
5 changed files
with
352 additions
and
1 deletion.
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
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.