xref: /openbmc/linux/drivers/leds/rgb/Kconfig (revision a957cbc0)
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
15config LEDS_QCOM_LPG
16	tristate "LED support for Qualcomm LPG"
17	depends on OF
18	depends on PWM
19	depends on SPMI
20	help
21	  This option enables support for the Light Pulse Generator found in a
22	  wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
23	  channels and typically a shared pattern lookup table and a current
24	  sink, intended to drive RGB LEDs. Each channel can either be used as
25	  a LED, grouped to represent a RGB LED or exposed as PWM channels.
26
27	  If compiled as a module, the module will be named leds-qcom-lpg.
28
29config LEDS_MT6370_RGB
30	tristate "LED Support for MediaTek MT6370 PMIC"
31	depends on MFD_MT6370
32	select LINEAR_RANGES
33	help
34	  Say Y here to enable support for MT6370_RGB LED device.
35	  In MT6370, there are four channel current-sink LED drivers that
36	  support hardware pattern for constant current, PWM, and breath mode.
37	  Isink4 channel can also be used as a CHG_VIN power good indicator.
38
39	  This driver can also be built as a module. If so, the module
40	  will be called "leds-mt6370-rgb".
41
42endif # LEDS_CLASS_MULTICOLOR
43