0001 # SPDX-License-Identifier: GPL-2.0
0002
0003 if LEDS_CLASS_MULTICOLOR
0004
0005 config LEDS_PWM_MULTICOLOR
0006 tristate "PWM driven multi-color LED Support"
0007 depends on PWM
0008 help
0009 This option enables support for PWM driven monochrome LEDs that are
0010 grouped into multicolor LEDs.
0011
0012 To compile this driver as a module, choose M here: the module
0013 will be called leds-pwm-multicolor.
0014
0015 config LEDS_QCOM_LPG
0016 tristate "LED support for Qualcomm LPG"
0017 depends on OF
0018 depends on PWM
0019 depends on SPMI
0020 help
0021 This option enables support for the Light Pulse Generator found in a
0022 wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
0023 channels and typically a shared pattern lookup table and a current
0024 sink, intended to drive RGB LEDs. Each channel can either be used as
0025 a LED, grouped to represent a RGB LED or exposed as PWM channels.
0026
0027 If compiled as a module, the module will be named leds-qcom-lpg.
0028
0029 endif # LEDS_CLASS_MULTICOLOR