summaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorSven Schwermer <sven.schwermer@disruptive-technologies.com>2022-04-07 09:32:25 +0200
committerPavel Machek <pavel@ucw.cz>2022-05-05 10:04:52 +0200
commit9fa2762110dd5d4e3ccadcd6bc1e5c7c517cbe4d (patch)
tree0793ed5a7bd183fa81103a15e1215fa22a696795 /drivers/leds/Kconfig
parentdt-bindings: leds: Add multicolor PWM LED bindings (diff)
downloadlinux-9fa2762110dd5d4e3ccadcd6bc1e5c7c517cbe4d.tar.xz
linux-9fa2762110dd5d4e3ccadcd6bc1e5c7c517cbe4d.zip
leds: Add PWM multicolor driver
By allowing to group multiple monochrome PWM LEDs into multicolor LEDs, all involved LEDs can be controlled in-sync. This enables using effects using triggers, etc. Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index a49979f41eee..ea4481000bfe 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -552,6 +552,17 @@ config LEDS_PWM
help
This option enables support for pwm driven LEDs
+config LEDS_PWM_MULTICOLOR
+ tristate "PWM driven multi-color LED Support"
+ depends on LEDS_CLASS_MULTICOLOR
+ depends on PWM
+ help
+ This option enables support for PWM driven monochrome LEDs that are
+ grouped into multicolor LEDs.
+
+ To compile this driver as a module, choose M here: the module
+ will be called leds-pwm-multicolor.
+
config LEDS_REGULATOR
tristate "REGULATOR driven LED support"
depends on LEDS_CLASS