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