Home
last modified time | relevance | path

Searched hist:"37 d0849e" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/leds/rgb/
H A Dleds-group-multicolor.c37d0849e Fri Jul 28 10:37:31 CDT 2023 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 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 <jjhiblot@traphandler.com>
Reviewed-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230728153731.3742339-5-jjhiblot@traphandler.com
Signed-off-by: Lee Jones <lee@kernel.org>
H A DMakefile37d0849e Fri Jul 28 10:37:31 CDT 2023 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 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 <jjhiblot@traphandler.com>
Reviewed-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230728153731.3742339-5-jjhiblot@traphandler.com
Signed-off-by: Lee Jones <lee@kernel.org>
H A DKconfig37d0849e Fri Jul 28 10:37:31 CDT 2023 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 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 <jjhiblot@traphandler.com>
Reviewed-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230728153731.3742339-5-jjhiblot@traphandler.com
Signed-off-by: Lee Jones <lee@kernel.org>