Kconfig (24e2d05d1b68981f22c984c766fabc5a93c83dba) Kconfig (818d03b3d4ae00eeb56687d2115a930406b2c7b3)
1# SPDX-License-Identifier: GPL-2.0
2
3if LEDS_CLASS_MULTICOLOR
4
1# SPDX-License-Identifier: GPL-2.0
2
3if LEDS_CLASS_MULTICOLOR
4
5config LEDS_PWM_MULTICOLOR
6 tristate "PWM driven multi-color LED Support"
7 depends on PWM
8 help
9 This option enables support for PWM driven monochrome LEDs that are
10 grouped into multicolor LEDs.
11
12 To compile this driver as a module, choose M here: the module
13 will be called leds-pwm-multicolor.
14
5config LEDS_QCOM_LPG
6 tristate "LED support for Qualcomm LPG"
7 depends on OF
8 depends on SPMI
9 help
10 This option enables support for the Light Pulse Generator found in a
11 wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
12 channels and typically a shared pattern lookup table and a current
13 sink, intended to drive RGB LEDs. Each channel can either be used as
14 a LED, grouped to represent a RGB LED or exposed as PWM channels.
15
16 If compiled as a module, the module will be named leds-qcom-lpg.
17
18endif # LEDS_CLASS_MULTICOLOR
15config LEDS_QCOM_LPG
16 tristate "LED support for Qualcomm LPG"
17 depends on OF
18 depends on SPMI
19 help
20 This option enables support for the Light Pulse Generator found in a
21 wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
22 channels and typically a shared pattern lookup table and a current
23 sink, intended to drive RGB LEDs. Each channel can either be used as
24 a LED, grouped to represent a RGB LED or exposed as PWM channels.
25
26 If compiled as a module, the module will be named leds-qcom-lpg.
27
28endif # LEDS_CLASS_MULTICOLOR