On Mon, 13 Jul 2020 10:45:33 -0500 Dan Murphy <dmurphy@xxxxxx> wrote: > Introduce a multicolor class that groups colored LEDs > within a LED node. > > The multi color class groups monochrome LEDs and allows controlling > two aspects of the final combined color: hue and lightness. The > former is controlled via the intensity file and the latter is > controlled via brightness file. > > Acked-by: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx> > Signed-off-by: Dan Murphy <dmurphy@xxxxxx> > --- > .../ABI/testing/sysfs-class-led-multicolor | 35 +++ > Documentation/leds/index.rst | 1 + > Documentation/leds/leds-class-multicolor.rst | 86 ++++++++ > drivers/leds/Kconfig | 10 + > drivers/leds/Makefile | 1 + > drivers/leds/led-class-multicolor.c | 204 > ++++++++++++++++++ include/linux/led-class-multicolor.h | > 121 +++++++++++ 7 files changed, 458 insertions(+) > create mode 100644 > Documentation/ABI/testing/sysfs-class-led-multicolor create mode > 100644 Documentation/leds/leds-class-multicolor.rst create mode > 100644 drivers/leds/led-class-multicolor.c create mode 100644 > include/linux/led-class-multicolor.h Reviewed-by: Marek Behún <marek.behun@xxxxxx>