1# SPDX-License-Identifier: GPL-2.0
2
3if LEDS_CLASS_MULTICOLOR
4
5config LEDS_GROUP_MULTICOLOR
6	tristate "LEDs group multi-color support"
7	depends on OF
8	help
9	  This option enables support for monochrome LEDs that are grouped
10	  into multicolor LEDs which is useful in the case where LEDs of
11	  different colors are physically grouped in a single multi-color LED
12	  and driven by a controller that doesn't have multi-color support.
13
14	  To compile this driver as a module, choose M here: the module
15	  will be called leds-group-multicolor.
16
17config LEDS_KTD202X
18	tristate "LED support for KTD202x Chips"
19	depends on I2C
20	depends on OF
21	select REGMAP_I2C
22	help
23	  This option enables support for the Kinetic KTD2026/KTD2027
24	  RGB/White LED driver found in different BQ mobile phones.
25	  It is a 3 or 4 channel LED driver programmed via an I2C interface.
26
27	  To compile this driver as a module, choose M here: the module
28	  will be called leds-ktd202x.
29
30config LEDS_NCP5623
31	tristate "LED support for NCP5623"
32	depends on I2C
33	depends on OF
34	help
35	  This option enables support for ON semiconductor NCP5623
36	  Triple Output I2C Controlled RGB LED Driver.
37
38	  To compile this driver as a module, choose M here: the module
39	  will be called leds-ncp5623.
40
41config LEDS_PWM_MULTICOLOR
42	tristate "PWM driven multi-color LED Support"
43	depends on PWM
44	help
45	  This option enables support for PWM driven monochrome LEDs that are
46	  grouped into multicolor LEDs.
47
48	  To compile this driver as a module, choose M here: the module
49	  will be called leds-pwm-multicolor.
50
51config LEDS_QCOM_LPG
52	tristate "LED support for Qualcomm LPG"
53	depends on OF
54	depends on PWM
55	depends on QCOM_PBS || !QCOM_PBS
56	depends on SPMI
57	help
58	  This option enables support for the Light Pulse Generator found in a
59	  wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
60	  channels and typically a shared pattern lookup table and a current
61	  sink, intended to drive RGB LEDs. Each channel can either be used as
62	  a LED, grouped to represent a RGB LED or exposed as PWM channels.
63
64	  If compiled as a module, the module will be named leds-qcom-lpg.
65
66config LEDS_MT6370_RGB
67	tristate "LED Support for MediaTek MT6370 PMIC"
68	depends on MFD_MT6370
69	select LINEAR_RANGES
70	help
71	  Say Y here to enable support for MT6370_RGB LED device.
72	  In MT6370, there are four channel current-sink LED drivers that
73	  support hardware pattern for constant current, PWM, and breath mode.
74	  Isink4 channel can also be used as a CHG_VIN power good indicator.
75
76	  This driver can also be built as a module. If so, the module
77	  will be called "leds-mt6370-rgb".
78
79endif # LEDS_CLASS_MULTICOLOR
80