xref: /linux/drivers/leds/rgb/Kconfig (revision bba2c3615bd6cfee7456d1130f2e6b01b3f4e9ba)
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	select REGMAP_I2C
21	help
22	  This option enables support for the Kinetic KTD2026/KTD2027
23	  RGB/White LED driver found in different BQ mobile phones.
24	  It is a 3 or 4 channel LED driver programmed via an I2C interface.
25
26	  To compile this driver as a module, choose M here: the module
27	  will be called leds-ktd202x.
28
29config LEDS_LP5812
30	tristate "LED support for Texas Instruments LP5812"
31	depends on I2C
32	help
33	  If you say Y here you get support for TI LP5812 LED driver.
34	  The LP5812 is a 4x3 matrix RGB LED driver with autonomous
35	  animation engine control.
36
37	  To compile this driver as a module, choose M here: the
38	  module will be called leds-lp5812.
39
40	  If unsure, say N.
41
42config LEDS_LP5860_CORE
43	tristate "Core Driver for TI LP5860"
44	depends on LEDS_CLASS
45	depends on OF
46	select REGMAP
47	help
48	  This option supports common operations for LP5860 devices.
49	  The LP5860 is a LED matrix driver with 18 constant current
50	  sinks and 11 scan switches for 198 LED dots. Each dot can be
51	  controlled individually and supports 8/16-bit PWM dimming.
52	  The chip supports individual LED open and short detection.
53
54	  The device can be used with SPI or I2C bus.
55
56config LEDS_LP5860_SPI
57	tristate "LED Support for TI LP5860 SPI LED driver chip"
58	depends on SPI
59	depends on OF
60	select LEDS_LP5860_CORE
61	help
62	  If you say yes here you get support for the Texas Instruments
63	  LP5860 LED driver for SPI bus connections.
64
65	  To compile this driver as a module, choose M here: the
66	  module will be called leds-lp5860-spi.
67
68config LEDS_NCP5623
69	tristate "LED support for NCP5623"
70	depends on I2C
71	depends on OF
72	help
73	  This option enables support for ON semiconductor NCP5623
74	  Triple Output I2C Controlled RGB LED Driver.
75
76	  To compile this driver as a module, choose M here: the module
77	  will be called leds-ncp5623.
78
79config LEDS_PWM_MULTICOLOR
80	tristate "PWM driven multi-color LED Support"
81	depends on PWM
82	help
83	  This option enables support for PWM driven monochrome LEDs that are
84	  grouped into multicolor LEDs.
85
86	  To compile this driver as a module, choose M here: the module
87	  will be called leds-pwm-multicolor.
88
89config LEDS_QCOM_LPG
90	tristate "LED support for Qualcomm LPG"
91	depends on OF
92	depends on PWM
93	depends on QCOM_PBS || !QCOM_PBS
94	depends on SPMI
95	help
96	  This option enables support for the Light Pulse Generator found in a
97	  wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
98	  channels and typically a shared pattern lookup table and a current
99	  sink, intended to drive RGB LEDs. Each channel can either be used as
100	  a LED, grouped to represent a RGB LED or exposed as PWM channels.
101
102	  If compiled as a module, the module will be named leds-qcom-lpg.
103
104config LEDS_S2M_RGB
105	tristate "Samsung S2M series PMICs RGB LED support"
106	depends on LEDS_CLASS
107	depends on MFD_SEC_CORE
108	help
109	  This option enables support for the S2MU005 RGB LEDs. These devices
110	  have three LED channels, with 8-bit brightness control for each
111	  channel. The S2MU005 is usually found in mobile phones as status
112	  indicators.
113
114config LEDS_MT6370_RGB
115	tristate "LED Support for MediaTek MT6370 PMIC"
116	depends on MFD_MT6370
117	select LINEAR_RANGES
118	help
119	  Say Y here to enable support for MT6370_RGB LED device.
120	  In MT6370, there are four channel current-sink LED drivers that
121	  support hardware pattern for constant current, PWM, and breath mode.
122	  Isink4 channel can also be used as a CHG_VIN power good indicator.
123
124	  This driver can also be built as a module. If so, the module
125	  will be called "leds-mt6370-rgb".
126
127endif # LEDS_CLASS_MULTICOLOR
128