linux-stable/drivers/leds/rgb
Jean-Jacques Hiblot 37d0849ed3 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>
2023-08-17 09:01:00 +01:00
..
Kconfig leds: rgb: Add a multicolor LED driver to group monochromatic LEDs 2023-08-17 09:01:00 +01:00
Makefile leds: rgb: Add a multicolor LED driver to group monochromatic LEDs 2023-08-17 09:01:00 +01:00
leds-group-multicolor.c leds: rgb: Add a multicolor LED driver to group monochromatic LEDs 2023-08-17 09:01:00 +01:00
leds-mt6370-rgb.c leds: rgb: mt6370: Fix implicit declaration for FIELD_GET 2023-03-23 14:54:14 +00:00
leds-pwm-multicolor.c leds: pwm-multicolor: Simplify an error message 2023-04-20 12:32:14 +01:00
leds-qcom-lpg.c leds: qcom-lpg: Drop assignment to struct pwmchip::base 2023-07-28 12:22:47 +01:00