diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-05-14 09:34:51 +0300 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2018-05-14 23:18:34 +0300 |
commit | e081c49e30ec2d42ac60e291dff24808fb81a99f (patch) | |
tree | a7c5bc1a1aafbe67b46dbdf4a2d6f346cd4252f5 /drivers/leds/Kconfig | |
parent | a0258db6c933f9ecad2f06f039107801f5e76092 (diff) | |
download | linux-e081c49e30ec2d42ac60e291dff24808fb81a99f.tar.xz |
leds: Add Spreadtrum SC27xx breathing light controller driver
This patch adds Spreadtrum SC27xx PMIC series breathing light controller
driver, which can support 3 LEDs. Each LED can work at normal PWM mode
and breathing mode.
Signed-off-by: Xiaotong Lu <xiaotong.lu@spreadtrum.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 5831814d01d0..cfeb5fb28c2d 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -660,6 +660,17 @@ config LEDS_IS31FL32XX LED controllers. They are I2C devices with multiple constant-current channels, each with independent 256-level PWM control. +config LEDS_SC27XX_BLTC + tristate "LED support for the SC27xx breathing light controller" + depends on LEDS_CLASS && MFD_SC27XX_PMIC + depends on OF + help + Say Y here to include support for the SC27xx breathing light controller + LEDs. + + This driver can also be built as a module. If so the module will be + called leds-sc27xx-bltc. + comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)" config LEDS_BLINKM |