Debian Codegraph @

drivers/leds/rgb/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0
2
3 if LEDS_CLASS_MULTICOLOR
4
5 config 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
17 config 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
29 config 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
42 config LEDS_NCP5623
43 tristate "LED support for NCP5623"
44 depends on I2C
45 depends on OF
46 help
47 This option enables support for ON semiconductor NCP5623
48 Triple Output I2C Controlled RGB LED Driver.
49
50 To compile this driver as a module, choose M here: the module
51 will be called leds-ncp5623.
52
53 config LEDS_PWM_MULTICOLOR
54 tristate "PWM driven multi-color LED Support"
55 depends on PWM
56 help
57 This option enables support for PWM driven monochrome LEDs that are
58 grouped into multicolor LEDs.
59
60 To compile this driver as a module, choose M here: the module
61 will be called leds-pwm-multicolor.
62
63 config LEDS_QCOM_LPG
64 tristate "LED support for Qualcomm LPG"
65 depends on OF
66 depends on PWM
67 depends on QCOM_PBS || !QCOM_PBS
68 depends on SPMI
69 help
70 This option enables support for the Light Pulse Generator found in a
71 wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
72 channels and typically a shared pattern lookup table and a current
73 sink, intended to drive RGB LEDs. Each channel can either be used as
74 a LED, grouped to represent a RGB LED or exposed as PWM channels.
75
76 If compiled as a module, the module will be named leds-qcom-lpg.
77
78 config LEDS_MT6370_RGB
79 tristate "LED Support for MediaTek MT6370 PMIC"
80 depends on MFD_MT6370
81 select LINEAR_RANGES
82 help
83 Say Y here to enable support for MT6370_RGB LED device.
84 In MT6370, there are four channel current-sink LED drivers that
85 support hardware pattern for constant current, PWM, and breath mode.
86 Isink4 channel can also be used as a CHG_VIN power good indicator.
87
88 This driver can also be built as a module. If so, the module
89 will be called "leds-mt6370-rgb".
90
91 endif # LEDS_CLASS_MULTICOLOR