xref: /openbmc/linux/drivers/leds/rgb/Kconfig (revision 24e2d05d)
1*24e2d05dSBjorn Andersson# SPDX-License-Identifier: GPL-2.0
2*24e2d05dSBjorn Andersson
3*24e2d05dSBjorn Anderssonif LEDS_CLASS_MULTICOLOR
4*24e2d05dSBjorn Andersson
5*24e2d05dSBjorn Anderssonconfig LEDS_QCOM_LPG
6*24e2d05dSBjorn Andersson	tristate "LED support for Qualcomm LPG"
7*24e2d05dSBjorn Andersson	depends on OF
8*24e2d05dSBjorn Andersson	depends on SPMI
9*24e2d05dSBjorn Andersson	help
10*24e2d05dSBjorn Andersson	  This option enables support for the Light Pulse Generator found in a
11*24e2d05dSBjorn Andersson	  wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
12*24e2d05dSBjorn Andersson	  channels and typically a shared pattern lookup table and a current
13*24e2d05dSBjorn Andersson	  sink, intended to drive RGB LEDs. Each channel can either be used as
14*24e2d05dSBjorn Andersson	  a LED, grouped to represent a RGB LED or exposed as PWM channels.
15*24e2d05dSBjorn Andersson
16*24e2d05dSBjorn Andersson	  If compiled as a module, the module will be named leds-qcom-lpg.
17*24e2d05dSBjorn Andersson
18*24e2d05dSBjorn Anderssonendif # LEDS_CLASS_MULTICOLOR
19