xref: /openbmc/linux/drivers/leds/rgb/Kconfig (revision 818d03b3)
124e2d05dSBjorn Andersson# SPDX-License-Identifier: GPL-2.0
224e2d05dSBjorn Andersson
324e2d05dSBjorn Anderssonif LEDS_CLASS_MULTICOLOR
424e2d05dSBjorn Andersson
5*818d03b3SSven Schwermerconfig LEDS_PWM_MULTICOLOR
6*818d03b3SSven Schwermer	tristate "PWM driven multi-color LED Support"
7*818d03b3SSven Schwermer	depends on PWM
8*818d03b3SSven Schwermer	help
9*818d03b3SSven Schwermer	  This option enables support for PWM driven monochrome LEDs that are
10*818d03b3SSven Schwermer	  grouped into multicolor LEDs.
11*818d03b3SSven Schwermer
12*818d03b3SSven Schwermer	  To compile this driver as a module, choose M here: the module
13*818d03b3SSven Schwermer	  will be called leds-pwm-multicolor.
14*818d03b3SSven Schwermer
1524e2d05dSBjorn Anderssonconfig LEDS_QCOM_LPG
1624e2d05dSBjorn Andersson	tristate "LED support for Qualcomm LPG"
1724e2d05dSBjorn Andersson	depends on OF
1824e2d05dSBjorn Andersson	depends on SPMI
1924e2d05dSBjorn Andersson	help
2024e2d05dSBjorn Andersson	  This option enables support for the Light Pulse Generator found in a
2124e2d05dSBjorn Andersson	  wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
2224e2d05dSBjorn Andersson	  channels and typically a shared pattern lookup table and a current
2324e2d05dSBjorn Andersson	  sink, intended to drive RGB LEDs. Each channel can either be used as
2424e2d05dSBjorn Andersson	  a LED, grouped to represent a RGB LED or exposed as PWM channels.
2524e2d05dSBjorn Andersson
2624e2d05dSBjorn Andersson	  If compiled as a module, the module will be named leds-qcom-lpg.
2724e2d05dSBjorn Andersson
2824e2d05dSBjorn Anderssonendif # LEDS_CLASS_MULTICOLOR
29