1 # SPDX-License-Identifier: GPL-2.0
3 if LEDS_CLASS_MULTICOLOR
5 config LEDS_GROUP_MULTICOLOR
6 tristate "LEDs group multi-color support"
7 depends on OF || COMPILE_TEST
9 This option enables support for monochrome LEDs that are grouped
10 into multicolor LEDs which is useful in the case where LEDs of
11 different colors are physically grouped in a single multi-color LED
12 and driven by a controller that doesn't have multi-color support.
14 To compile this driver as a module, choose M here: the module
15 will be called leds-group-multicolor.
17 config LEDS_PWM_MULTICOLOR
18 tristate "PWM driven multi-color LED Support"
21 This option enables support for PWM driven monochrome LEDs that are
22 grouped into multicolor LEDs.
24 To compile this driver as a module, choose M here: the module
25 will be called leds-pwm-multicolor.
28 tristate "LED support for Qualcomm LPG"
33 This option enables support for the Light Pulse Generator found in a
34 wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
35 channels and typically a shared pattern lookup table and a current
36 sink, intended to drive RGB LEDs. Each channel can either be used as
37 a LED, grouped to represent a RGB LED or exposed as PWM channels.
39 If compiled as a module, the module will be named leds-qcom-lpg.
41 config LEDS_MT6370_RGB
42 tristate "LED Support for MediaTek MT6370 PMIC"
46 Say Y here to enable support for MT6370_RGB LED device.
47 In MT6370, there are four channel current-sink LED drivers that
48 support hardware pattern for constant current, PWM, and breath mode.
49 Isink4 channel can also be used as a CHG_VIN power good indicator.
51 This driver can also be built as a module. If so, the module
52 will be called "leds-mt6370-rgb".
54 endif # LEDS_CLASS_MULTICOLOR