diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-07-16 21:19:56 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-07-22 15:41:29 +0300 |
commit | 55d5d3b46b08a4dc0b05343d24640744e7430ed7 (patch) | |
tree | f201e4248416a591ea17c23cc2110e75efcab153 /drivers/leds/Makefile | |
parent | 10d3e0d815879129e916cd83e1034438e06efdaa (diff) | |
download | linux-55d5d3b46b08a4dc0b05343d24640744e7430ed7.tar.xz |
leds: multicolor: Introduce a multicolor class definition
Introduce a multicolor class that groups colored LEDs
within a LED node.
The multicolor 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.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
[squashed leds: multicolor: Fix camel case in documentation in]
Diffstat (limited to 'drivers/leds/Makefile')
-rw-r--r-- | drivers/leds/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile index d6b8a792c936..d684bc76d2b2 100644 --- a/drivers/leds/Makefile +++ b/drivers/leds/Makefile @@ -4,6 +4,7 @@ obj-$(CONFIG_NEW_LEDS) += led-core.o obj-$(CONFIG_LEDS_CLASS) += led-class.o obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o +obj-$(CONFIG_LEDS_CLASS_MULTICOLOR) += led-class-multicolor.o obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o # LED Platform Drivers (keep this sorted, M-| sort) |