aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <[email protected]>2023-07-28 17:37:31 +0200
committerLee Jones <[email protected]>2023-08-17 09:01:00 +0100
commit37d0849ed3927f7c4be6f5ee030730f9aa7439c0 (patch)
treedf4c3f3e529d65d804f7b9c7c6db186747da74ff /lib
parent099c52d9448c1ca832b4695e982221a521282b94 (diff)
leds: rgb: Add a multicolor LED driver to group monochromatic LEDs
Grouping multiple monochrome LEDs into a multicolor LED device has a few benefits over handling the group in user-space: - The state of the LEDs relative to each other is consistent. In other words, if 2 threads competes to set the LED to green and red, the end-result cannot be black or yellow. - The multicolor LED as a whole can be driven through the sysfs LED interface. Signed-off-by: Jean-Jacques Hiblot <[email protected]> Reviewed-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions