Messages in this thread | | | Date | Sat, 30 Jul 2022 23:19:04 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH v2 4/4] leds: Add a multicolor LED driver to group monochromatic LEDs |
| |
Hi!
> By allowing to group multiple monochrome LED into multicolor LEDs, > all involved LEDs can be controlled in-sync. This enables using effects > using triggers, etc. > > Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com> > --- > drivers/leds/rgb/Kconfig | 6 + > drivers/leds/rgb/Makefile | 1 + > drivers/leds/rgb/leds-group-multicolor.c | 153 +++++++++++++++++++++++ > 3 files changed, 160 insertions(+) > create mode 100644 drivers/leds/rgb/leds-group-multicolor.c > > diff --git a/drivers/leds/rgb/Kconfig b/drivers/leds/rgb/Kconfig > index 204cf470beae..70b157d1fdca 100644 > --- a/drivers/leds/rgb/Kconfig > +++ b/drivers/leds/rgb/Kconfig > @@ -2,6 +2,12 @@ > > if LEDS_CLASS_MULTICOLOR > > +config LEDS_GRP_MULTICOLOR > + tristate "multi-color LED grouping Support"
Make this tristate "Multi-color LED grouping support"
Others commented on other issues.
Thank you, Pavel -- People of Russia, stop Putin before his war on Ukraine escalates. [unhandled content-type:application/pgp-signature] | |