aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/Makefile
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2020-07-16 13:19:56 -0500
committerPavel Machek <pavel@ucw.cz>2020-07-22 14:41:29 +0200
commit55d5d3b46b08a4dc0b05343d24640744e7430ed7 (patch)
treef201e4248416a591ea17c23cc2110e75efcab153 /drivers/leds/Makefile
parentleds: Add multicolor ID to the color ID list (diff)
downloadlinux-dev-55d5d3b46b08a4dc0b05343d24640744e7430ed7.tar.xz
linux-dev-55d5d3b46b08a4dc0b05343d24640744e7430ed7.zip
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/Makefile1
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)