leds: lgm: fix gpiolib dependency
[linux-block.git] / drivers / leds / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
be5ce2f1
UKK
2config LEDS_GPIO_REGISTER
3 bool
4 help
5 This option provides the function gpio_led_register_device.
6 As this function is used by arch code it must not be compiled as a
7 module.
8
66242f7e 9menuconfig NEW_LEDS
c72a1d60
RP
10 bool "LED Support"
11 help
a8d2e7d9
RP
12 Say Y to enable Linux LED support. This allows control of supported
13 LEDs from both userspace and optionally, by kernel events (triggers).
14
45d16f09
EM
15if NEW_LEDS
16
c72a1d60 17config LEDS_CLASS
a403d930 18 tristate "LED Class Support"
c72a1d60 19 help
f884e866 20 This option enables the LED sysfs class in /sys/class/leds. You'll
c72a1d60
RP
21 need this to do anything useful with LEDs. If unsure, say N.
22
7aea8389
JA
23config LEDS_CLASS_FLASH
24 tristate "LED Flash Class Support"
25 depends on LEDS_CLASS
26 help
6e6c214f
DM
27 This option enables the flash LED sysfs class in /sys/class/leds.
28 It wraps LED Class and adds flash LEDs specific sysfs attributes
7aea8389
JA
29 and kernel internal API to it. You'll need this to provide support
30 for the flash related features of a LED device. It can be built
31 as a module.
32
55d5d3b4
DM
33config LEDS_CLASS_MULTICOLOR
34 tristate "LED Multicolor Class Support"
35 depends on LEDS_CLASS
36 help
37 This option enables the multicolor LED sysfs class in /sys/class/leds.
38 It wraps LED class and adds multicolor LED specific sysfs attributes
39 and kernel internal API to it. You'll need this to provide support
40 for multicolor LEDs that are grouped together. This class is not
41 intended for single color LEDs. It can be built as a module.
42
0cb8eb30
HG
43config LEDS_BRIGHTNESS_HW_CHANGED
44 bool "LED Class brightness_hw_changed attribute support"
45 depends on LEDS_CLASS
46 help
47 This option enables support for the brightness_hw_changed attribute
f884e866 48 for LED sysfs class devices under /sys/class/leds.
0cb8eb30
HG
49
50 See Documentation/ABI/testing/sysfs-class-led for details.
51
24f51e81 52comment "LED drivers"
c3bc9956 53
0a2f915b
HZ
54config LEDS_88PM860X
55 tristate "LED Support for Marvell 88PM860x PMIC"
0bae35e1 56 depends on LEDS_CLASS
37814fdc 57 depends on MFD_88PM860X
0a2f915b
HZ
58 help
59 This option enables support for on-chip LED drivers found on Marvell
60 Semiconductor 88PM8606 PMIC.
61
49c34b8e
JA
62config LEDS_AAT1290
63 tristate "LED support for the AAT1290"
64 depends on LEDS_CLASS_FLASH
58d1809b 65 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
6e3956cd 66 depends on GPIOLIB || COMPILE_TEST
49c34b8e 67 depends on OF
ac69b903 68 depends on PINCTRL
49c34b8e 69 help
0eae6058 70 This option enables support for the LEDs on the AAT1290.
8cb21086 71
2d00f35c
SS
72config LEDS_AN30259A
73 tristate "LED support for Panasonic AN30259A"
74 depends on LEDS_CLASS && I2C && OF
75 help
76 This option enables support for the AN30259A 3-channel
77 LED driver.
78
79 To compile this driver as a module, choose M here: the module
80 will be called leds-an30259a.
81
3faee942 82config LEDS_APU
8cb21086 83 tristate "Front panel LED support for PC Engines APU/APU2/APU3 boards"
3faee942
AM
84 depends on LEDS_CLASS
85 depends on X86 && DMI
86 help
0344e616 87 This driver makes the PC Engines APU1 front panel LEDs
3faee942
AM
88 accessible from userspace programs through the LED subsystem.
89
0344e616
EW
90 If you're looking for APU2/3, use the pcengines-apu2 driver.
91 (symbol CONFIG_PCENGINES_APU2)
92
3faee942
AM
93 To compile this driver as a module, choose M here: the
94 module will be called leds-apu.
49c34b8e 95
03f613f0
LR
96config LEDS_ARIEL
97 tristate "Dell Wyse 3020 status LED support"
98 depends on LEDS_CLASS
99 depends on (MACH_MMP3_DT && MFD_ENE_KB3930) || COMPILE_TEST
100 help
101 This driver adds support for controlling the front panel status
102 LEDs on Dell Wyse 3020 (Ariel) board via the KB3930 Embedded
103 Controller.
104
105 Say Y to if your machine is a Dell Wyse 3020 thin client.
106
a56ba8fb 107config LEDS_AS3645A
6204f03d 108 tristate "AS3645A and LM3555 LED flash controllers support"
a56ba8fb 109 depends on I2C && LEDS_CLASS_FLASH
1efdf177 110 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
a56ba8fb
SA
111 help
112 Enable LED flash class support for AS3645A LED flash
113 controller. V4L2 flash API is provided as well if
114 CONFIG_V4L2_FLASH_API is enabled.
115
59ea3c9f
NT
116config LEDS_AW2013
117 tristate "LED support for Awinic AW2013"
118 depends on LEDS_CLASS && I2C && OF
119 help
120 This option enables support for the AW2013 3-channel
121 LED driver.
122
123 To compile this driver as a module, choose M here: the module
124 will be called leds-aw2013.
125
fd7b025a
ÁFR
126config LEDS_BCM6328
127 tristate "LED Support for Broadcom BCM6328"
128 depends on LEDS_CLASS
522f17e1 129 depends on HAS_IOMEM
fd7b025a
ÁFR
130 depends on OF
131 help
132 This option enables support for LEDs connected to the BCM6328
133 LED HW controller accessed via MMIO registers.
134
589fca16
ÁFR
135config LEDS_BCM6358
136 tristate "LED Support for Broadcom BCM6358"
137 depends on LEDS_CLASS
522f17e1 138 depends on HAS_IOMEM
589fca16
ÁFR
139 depends on OF
140 help
141 This option enables support for LEDs connected to the BCM6358
142 LED HW controller accessed via MMIO registers.
143
cd3b0b05
SR
144config LEDS_CPCAP
145 tristate "LED Support for Motorola CPCAP"
146 depends on LEDS_CLASS
147 depends on MFD_CPCAP
148 depends on OF
149 help
150 This option enables support for LEDs offered by Motorola's
151 CPCAP PMIC.
152
9e50d5fb
OK
153config LEDS_CR0014114
154 tristate "LED Support for Crane CR0014114"
155 depends on LEDS_CLASS
156 depends on SPI
157 depends on OF
158 help
159 This option enables support for CR0014114 LED Board which
160 is widely used in vending machines produced by
161 Crane Merchandising Systems.
162
163 To compile this driver as a module, choose M here: the module
164 will be called leds-cr0014114.
165
fc19967b
OK
166config LEDS_EL15203000
167 tristate "LED Support for Crane EL15203000"
168 depends on LEDS_CLASS
169 depends on SPI
170 depends on OF
171 help
172 This option enables support for EL15203000 LED Board
173 (aka RED LED board) which is widely used in coffee vending
174 machines produced by Crane Merchandising Systems.
175
176 To compile this driver as a module, choose M here: the module
177 will be called leds-el15203000.
178
089381b2
MB
179config LEDS_TURRIS_OMNIA
180 tristate "LED support for CZ.NIC's Turris Omnia"
181 depends on LEDS_CLASS_MULTICOLOR
182 depends on I2C
183 depends on MACH_ARMADA_38X || COMPILE_TEST
184 depends on OF
185 help
186 This option enables basic support for the LEDs found on the front
187 side of CZ.NIC's Turris Omnia router. There are 12 RGB LEDs on the
188 front panel.
189
b1e6b706
SKS
190config LEDS_LM3530
191 tristate "LCD Backlight driver for LM3530"
192 depends on LEDS_CLASS
193 depends on I2C
194 help
195 This option enables support for the LCD backlight using
196 LM3530 ambient light sensor chip. This ALS chip can be
197 controlled manually or using PWM input or using ambient
198 light automatically.
199
bc1b8492
DM
200config LEDS_LM3532
201 tristate "LCD Backlight driver for LM3532"
202 depends on LEDS_CLASS
203 depends on I2C
204 help
205 This option enables support for the LCD backlight using
206 LM3532 ambient light sensor chip. This ALS chip can be
207 controlled manually or using PWM input or using ambient
208 light automatically.
209
401dea7f
JH
210config LEDS_LM3533
211 tristate "LED support for LM3533"
212 depends on LEDS_CLASS
213 depends on MFD_LM3533
214 help
215 This option enables support for the LEDs on National Semiconductor /
216 TI LM3533 Lighting Power chips.
217
218 The LEDs can be controlled directly, through PWM input, or by the
219 ambient-light-sensor interface. The chip supports
220 hardware-accelerated blinking with maximum on and off periods of 9.8
221 and 77 seconds respectively.
222
8b7cfbec
SJ
223config LEDS_LM3642
224 tristate "LED support for LM3642 Chip"
225 depends on LEDS_CLASS && I2C
226 select REGMAP_I2C
227 help
228 This option enables support for LEDs connected to LM3642.
229 The LM3642 is a 4MHz fixed-frequency synchronous boost
230 converter plus 1.5A constant current driver for a high-current
231 white LED.
232
9699cb6b
DM
233config LEDS_LM3692X
234 tristate "LED support for LM3692x Chips"
235 depends on LEDS_CLASS && I2C && OF
236 select REGMAP_I2C
237 help
238 This option enables support for the TI LM3692x family
239 of white LED string drivers used for backlighting.
8b7cfbec 240
57a53297
DM
241config LEDS_LM3601X
242 tristate "LED support for LM3601x Chips"
243 depends on LEDS_CLASS && I2C
244 depends on LEDS_CLASS_FLASH
245 select REGMAP_I2C
246 help
247 This option enables support for the TI LM3601x family
248 of flash, torch and indicator classes.
249
4d3cb354
RP
250config LEDS_LOCOMO
251 tristate "LED Support for Locomo device"
0bae35e1 252 depends on LEDS_CLASS
d09e1666 253 depends on SHARP_LOCOMO
4d3cb354
RP
254 help
255 This option enables support for the LEDs on Sharp Locomo.
256 Zaurus models SL-5500 and SL-5600.
257
ac67e23b
PS
258config LEDS_MIKROTIK_RB532
259 tristate "LED Support for Mikrotik Routerboard 532"
0bae35e1 260 depends on LEDS_CLASS
d09e1666 261 depends on MIKROTIK_RB532
ac67e23b
PS
262 help
263 This option enables support for the so called "User LED" of
264 Mikrotik's Routerboard 532.
265
216ec6cc
SW
266config LEDS_MT6323
267 tristate "LED Support for Mediatek MT6323 PMIC"
268 depends on LEDS_CLASS
269 depends on MFD_MT6397
270 help
271 This option enables support for on-chip LED drivers found on
272 Mediatek MT6323 PMIC.
273
54bdc470
BD
274config LEDS_S3C24XX
275 tristate "LED Support for Samsung S3C24XX GPIO LEDs"
0bae35e1 276 depends on LEDS_CLASS
f1b0a43b 277 depends on ARCH_S3C24XX || COMPILE_TEST
54bdc470
BD
278 help
279 This option enables support for LEDs connected to GPIO lines
280 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
281
1a87d942
CB
282config LEDS_NET48XX
283 tristate "LED Support for Soekris net48xx series Error LED"
0bae35e1 284 depends on LEDS_CLASS
d09e1666 285 depends on SCx200_GPIO
1a87d942
CB
286 help
287 This option enables support for the Soekris net4801 and net4826 error
288 LED.
289
3b2e46f8
RW
290config LEDS_FSG
291 tristate "LED Support for the Freecom FSG-3"
0bae35e1 292 depends on LEDS_CLASS
d09e1666 293 depends on MACH_FSG
3b2e46f8
RW
294 help
295 This option enables support for the LEDs on the Freecom FSG-3.
296
0d75565f
KK
297config LEDS_WRAP
298 tristate "LED Support for the WRAP series LEDs"
0bae35e1 299 depends on LEDS_CLASS
d09e1666 300 depends on SCx200_GPIO
0d75565f
KK
301 help
302 This option enables support for the PCEngines WRAP programmable LEDs.
303
f3b6b6cd
YY
304config LEDS_COBALT_QUBE
305 tristate "LED Support for the Cobalt Qube series front LED"
0bae35e1 306 depends on LEDS_CLASS
f1b0a43b 307 depends on MIPS_COBALT || COMPILE_TEST
2fea6f35 308 help
f3b6b6cd 309 This option enables support for the front LED on Cobalt Qube series
2fea6f35 310
97da7aaf
YY
311config LEDS_COBALT_RAQ
312 bool "LED Support for the Cobalt Raq series"
f1b0a43b 313 depends on LEDS_CLASS=y && (MIPS_COBALT || COMPILE_TEST)
97da7aaf
YY
314 select LEDS_TRIGGERS
315 help
316 This option enables support for the Cobalt Raq series LEDs.
317
5843492c
DM
318config LEDS_SUNFIRE
319 tristate "LED support for SunFire servers."
0bae35e1 320 depends on LEDS_CLASS
d09e1666 321 depends on SPARC64
5843492c
DM
322 select LEDS_TRIGGERS
323 help
324 This option enables support for the Left, Middle, and Right
325 LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
326
4da498fc
LW
327config LEDS_IPAQ_MICRO
328 tristate "LED Support for the Compaq iPAQ h3xxx"
35bfe456 329 depends on LEDS_CLASS
4da498fc
LW
330 depends on MFD_IPAQ_MICRO
331 help
332 Choose this option if you want to use the notification LED on
333 Compaq/HP iPAQ h3100 and h3600.
334
d39a7a63
KE
335config LEDS_HP6XX
336 tristate "LED Support for the HP Jornada 6xx"
0bae35e1 337 depends on LEDS_CLASS
d09e1666 338 depends on SH_HP6XX
d39a7a63 339 help
692105b8 340 This option enables LED support for the handheld
d39a7a63
KE
341 HP Jornada 620/660/680/690.
342
e14fa824
RV
343config LEDS_PCA9532
344 tristate "LED driver for PCA9532 dimmer"
0bae35e1 345 depends on LEDS_CLASS
5e0b080d 346 depends on I2C && INPUT
e14fa824
RV
347 help
348 This option enables support for NXP pca9532
692105b8 349 LED controller. It is generally only useful
e14fa824
RV
350 as a platform driver
351
3c1ab50d
JE
352config LEDS_PCA9532_GPIO
353 bool "Enable GPIO support for PCA9532"
354 depends on LEDS_PCA9532
355 depends on GPIOLIB
356 help
357 Allow unused pins on PCA9532 to be used as gpio.
358
359 To use a pin as gpio pca9532_type in pca9532_platform data needs to
360 set to PCA9532_TYPE_GPIO.
361
22e03f3b
RA
362config LEDS_GPIO
363 tristate "LED Support for GPIO connected LEDs"
0bae35e1 364 depends on LEDS_CLASS
9ab1963d 365 depends on GPIOLIB || COMPILE_TEST
22e03f3b
RA
366 help
367 This option enables support for the LEDs connected to GPIO
368 outputs. To be useful the particular board must have LEDs
a7d878af
TP
369 and they must be connected to the GPIO lines. The LEDs must be
370 defined as platform devices and/or OpenFirmware platform devices.
371 The code to use these bindings can be selected below.
372
5054d39e
AO
373config LEDS_LP3944
374 tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
0bae35e1 375 depends on LEDS_CLASS
d09e1666 376 depends on I2C
5054d39e 377 help
7f1be819
AO
378 This option enables support for LEDs connected to the National
379 Semiconductor LP3944 Lighting Management Unit (LMU) also known as
380 Fun Light Chip.
5054d39e
AO
381
382 To compile this driver as a module, choose M here: the
383 module will be called leds-lp3944.
384
d966c943
TM
385config LEDS_LP3952
386 tristate "LED Support for TI LP3952 2 channel LED driver"
387 depends on LEDS_CLASS
388 depends on I2C
d966c943
TM
389 depends on GPIOLIB
390 select REGMAP_I2C
391 help
392 This option enables support for LEDs connected to the Texas
393 Instruments LP3952 LED driver.
394
395 To compile this driver as a module, choose M here: the
396 module will be called leds-lp3952.
397
242b8117
DM
398config LEDS_LP50XX
399 tristate "LED Support for TI LP5036/30/24/18/12/9 LED driver chip"
400 depends on LEDS_CLASS && REGMAP_I2C
401 depends on LEDS_CLASS_MULTICOLOR || !LEDS_CLASS_MULTICOLOR
402 help
403 If you say yes here you get support for the Texas Instruments
404 LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 LED driver.
405
406 To compile this driver as a module, choose M here: the
407 module will be called leds-lp50xx.
408
c93d08fa 409config LEDS_LP55XX_COMMON
33b3a561 410 tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501"
87e23684 411 depends on LEDS_CLASS
92a81562
DM
412 depends on LEDS_CLASS_MULTICOLOR || !LEDS_CLASS_MULTICOLOR
413 depends on OF
2742b419 414 depends on I2C
10c06d17 415 select FW_LOADER
2338f73d 416 select FW_LOADER_USER_HELPER
c93d08fa 417 help
33b3a561 418 This option supports common operations for LP5521/5523/55231/5562/8501
c93d08fa
MWK
419 devices.
420
f4920f67
SO
421config LEDS_LP5521
422 tristate "LED Support for N.S. LP5521 LED driver chip"
423 depends on LEDS_CLASS && I2C
92a81562 424 depends on LEDS_LP55XX_COMMON
f4920f67
SO
425 help
426 If you say yes here you get support for the National Semiconductor
427 LP5521 LED driver. It is 3 channel chip with programmable engines.
428 Driver provides direct control via LED class and interface for
429 programming the engines.
430
431config LEDS_LP5523
ca705321 432 tristate "LED Support for TI/National LP5523/55231 LED driver chip"
f4920f67 433 depends on LEDS_CLASS && I2C
92a81562 434 depends on LEDS_LP55XX_COMMON
f4920f67 435 help
ca705321
KM
436 If you say yes here you get support for TI/National Semiconductor
437 LP5523/55231 LED driver.
438 It is 9 channel chip with programmable engines.
f4920f67
SO
439 Driver provides direct control via LED class and interface for
440 programming the engines.
441
ff45262a
KM
442config LEDS_LP5562
443 tristate "LED Support for TI LP5562 LED driver chip"
444 depends on LEDS_CLASS && I2C
92a81562 445 depends on LEDS_LP55XX_COMMON
ff45262a
KM
446 help
447 If you say yes here you get support for TI LP5562 LED driver.
448 It is 4 channels chip with programmable engines.
449 Driver provides direct control via LED class and interface for
450 programming the engines.
451
33b3a561
KM
452config LEDS_LP8501
453 tristate "LED Support for TI LP8501 LED driver chip"
454 depends on LEDS_CLASS && I2C
92a81562 455 depends on LEDS_LP55XX_COMMON
33b3a561
KM
456 help
457 If you say yes here you get support for TI LP8501 LED driver.
458 It is 9 channel chip with programmable engines.
459 Driver provides direct control via LED class and interface for
460 programming the engines.
461 It is similar as LP5523, but output power selection is available.
462 And register layout and engine program schemes are different.
463
eb80411b
KM
464config LEDS_LP8788
465 tristate "LED support for the TI LP8788 PMIC"
466 depends on LEDS_CLASS
467 depends on MFD_LP8788
468 help
469 This option enables support for the Keyboard LEDs on the LP8788 PMIC.
470
7a8685ac
DM
471config LEDS_LP8860
472 tristate "LED support for the TI LP8860 4 channel LED driver"
a2169c9b 473 depends on LEDS_CLASS && I2C && OF
2969bb18 474 select REGMAP_I2C
7a8685ac
DM
475 help
476 If you say yes here you get support for the TI LP8860 4 channel
477 LED driver.
478 This option enables support for the display cluster LEDs
479 on the LP8860 4 channel LED driver using the I2C communication
480 bus.
481
cec035de 482config LEDS_CLEVO_MAIL
95dc5768 483 tristate "Mail LED on Clevo notebook"
0bae35e1 484 depends on LEDS_CLASS
d09e1666 485 depends on X86 && SERIO_I8042 && DMI
cec035de
MN
486 help
487 This driver makes the mail LED accessible from userspace
488 programs through the leds subsystem. This LED have three
489 known mode: off, blink at 0.5Hz and blink at 1Hz.
490
92e015cb
MN
491 The driver supports two kinds of interface: using ledtrig-timer
492 or through /sys/class/leds/clevo::mail/brightness. As this LED
493 cannot change it's brightness it blinks instead. The brightness
494 value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
495 blink at 1Hz.
cec035de
MN
496
497 This module can drive the mail LED for the following notebooks:
498
0eae6058
EWI
499 Clevo D400P
500 Clevo D410J
501 Clevo D410V
502 Clevo D400V/D470V (not tested, but might work)
503 Clevo M540N
504 Clevo M5x0N (not tested, but might work)
505 Positivo Mobile (Clevo M5x0V)
cec035de 506
b3ba31f8 507 If your model is not listed here you can try the "nodetect"
692105b8 508 module parameter.
b3ba31f8 509
cec035de
MN
510 To compile this driver as a module, choose M here: the
511 module will be called leds-clevo-mail.
512
f46e9203
NC
513config LEDS_PCA955X
514 tristate "LED Support for PCA955x I2C chips"
0bae35e1 515 depends on LEDS_CLASS
d09e1666 516 depends on I2C
f46e9203
NC
517 help
518 This option enables support for LEDs connected to PCA955x
519 LED driver chips accessed via the I2C bus. Supported
520 devices include PCA9550, PCA9551, PCA9552, and PCA9553.
521
561099a1
CLG
522config LEDS_PCA955X_GPIO
523 bool "Enable GPIO support for PCA955X"
524 depends on LEDS_PCA955X
525 depends on GPIOLIB
526 help
527 Allow unused pins on PCA955X to be used as gpio.
528
529 To use a pin as gpio the pin type should be set to
530 PCA955X_TYPE_GPIO in the device tree.
531
532
56a1740c 533config LEDS_PCA963X
af67384f 534 tristate "LED support for PCA963x I2C chip"
75cb2e1d
PM
535 depends on LEDS_CLASS
536 depends on I2C
537 help
af67384f
RRD
538 This option enables support for LEDs connected to the PCA963x
539 LED driver chip accessed via the I2C bus. Supported
540 devices include PCA9633 and PCA9634
75cb2e1d 541
c746b551
MB
542config LEDS_WM831X_STATUS
543 tristate "LED support for status LEDs on WM831x PMICs"
0bae35e1 544 depends on LEDS_CLASS
d09e1666 545 depends on MFD_WM831X
c746b551
MB
546 help
547 This option enables support for the status LEDs of the WM831x
0eae6058 548 series of PMICs.
c746b551 549
0081e802
MB
550config LEDS_WM8350
551 tristate "LED Support for WM8350 AudioPlus PMIC"
0bae35e1 552 depends on LEDS_CLASS
d09e1666 553 depends on MFD_WM8350
0081e802
MB
554 help
555 This option enables support for LEDs driven by the Wolfson
556 Microelectronics WM8350 AudioPlus PMIC.
557
9e84561c
MR
558config LEDS_DA903X
559 tristate "LED Support for DA9030/DA9034 PMIC"
0bae35e1 560 depends on LEDS_CLASS
d09e1666 561 depends on PMIC_DA903X
9e84561c
MR
562 help
563 This option enables support for on-chip LED drivers found
564 on Dialog Semiconductor DA9030/DA9034 PMICs.
565
5ba73631
DDC
566config LEDS_DA9052
567 tristate "Dialog DA9052/DA9053 LEDS"
568 depends on LEDS_CLASS
569 depends on PMIC_DA9052
570 help
571 This option enables support for on-chip LED drivers found
572 on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
573
ac2dd0f1
GL
574config LEDS_DAC124S085
575 tristate "LED Support for DAC124S085 SPI DAC"
0bae35e1 576 depends on LEDS_CLASS
d09e1666 577 depends on SPI
ac2dd0f1
GL
578 help
579 This option enables support for DAC124S085 SPI DAC from NatSemi,
580 which can be used to control up to four LEDs.
581
41c42ff5
LF
582config LEDS_PWM
583 tristate "PWM driven LED Support"
0bae35e1 584 depends on LEDS_CLASS
ad0ba85f 585 depends on PWM
41c42ff5
LF
586 help
587 This option enables support for pwm driven LEDs
588
d4cc6a2e
AO
589config LEDS_REGULATOR
590 tristate "REGULATOR driven LED support"
0bae35e1 591 depends on LEDS_CLASS
d09e1666 592 depends on REGULATOR
d4cc6a2e
AO
593 help
594 This option enables support for regulator driven LEDs.
595
0b56129b
KK
596config LEDS_BD2802
597 tristate "LED driver for BD2802 RGB LED"
0bae35e1 598 depends on LEDS_CLASS
d09e1666 599 depends on I2C
0b56129b
KK
600 help
601 This option enables support for BD2802GU RGB LED driver chips
602 accessed via the I2C bus.
603
a328e95b
DH
604config LEDS_INTEL_SS4200
605 tristate "LED driver for Intel NAS SS4200 series"
0bae35e1 606 depends on LEDS_CLASS
d09e1666 607 depends on PCI && DMI
fe15ee47 608 depends on X86
a328e95b
DH
609 help
610 This option enables support for the Intel SS4200 series of
fe15ee47
MD
611 Network Attached Storage servers. You may control the hard
612 drive or power LEDs on the front panel. Using this driver
a328e95b
DH
613 can stop the front LED from blinking after startup.
614
a8dd18fe
DM
615config LEDS_LT3593
616 tristate "LED driver for LT3593 controllers"
0bae35e1 617 depends on LEDS_CLASS
82322741 618 depends on GPIOLIB || COMPILE_TEST
dd08e136 619 depends on OF
a8dd18fe
DM
620 help
621 This option enables support for LEDs driven by a Linear Technology
622 LT3593 controller. This controller uses a special one-wire pulse
623 coding protocol to set the brightness.
624
ed4a10b4
MH
625config LEDS_ADP5520
626 tristate "LED Support for ADP5520/ADP5501 PMIC"
0bae35e1 627 depends on LEDS_CLASS
d09e1666 628 depends on PMIC_ADP5520
ed4a10b4
MH
629 help
630 This option enables support for on-chip LED drivers found
631 on Analog Devices ADP5520/ADP5501 PMICs.
632
633 To compile this driver as a module, choose M here: the module will
634 be called leds-adp5520.
635
7fdcef8a 636config LEDS_MC13783
ae6cdb03 637 tristate "LED Support for MC13XXX PMIC"
0bae35e1 638 depends on LEDS_CLASS
ae6cdb03 639 depends on MFD_MC13XXX
7fdcef8a 640 help
54b6c127 641 This option enables support for on-chip LED drivers found
a59ce658 642 on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
7fdcef8a 643
11efe71f
SG
644config LEDS_NS2
645 tristate "LED support for Network Space v2 GPIO LEDs"
0bae35e1 646 depends on LEDS_CLASS
f1b0a43b 647 depends on MACH_KIRKWOOD || MACH_ARMADA_370 || COMPILE_TEST
11efe71f
SG
648 default y
649 help
259f5ba3
SG
650 This option enables support for the dual-GPIO LEDs found on the
651 following LaCie/Seagate boards:
652
653 Network Space v2 (and parents: Max, Mini)
654 Internet Space v2
655 d2 Network v2
656 n090401 (Seagate NAS 4-Bay)
11efe71f 657
24467832
SG
658config LEDS_NETXBIG
659 tristate "LED support for Big Network series LEDs"
2504f6da 660 depends on LEDS_CLASS
f1b0a43b 661 depends on MACH_KIRKWOOD || COMPILE_TEST
156189a6 662 depends on OF_GPIO
24467832
SG
663 default y
664 help
54b6c127 665 This option enables support for LEDs found on the LaCie 2Big
24467832
SG
666 and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
667 controlled through a GPIO extension bus.
668
7d9e7e9f
PP
669config LEDS_ASIC3
670 bool "LED support for the HTC ASIC3"
9473c4c1 671 depends on LEDS_CLASS=y
7d9e7e9f
PP
672 depends on MFD_ASIC3
673 default y
674 help
675 This option enables support for the LEDs on the HTC ASIC3. The HTC
676 ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
677 cannot be used. This driver supports hardware blinking with an on+off
678 period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
679
a6d511e5
N
680config LEDS_TCA6507
681 tristate "LED Support for TCA6507 I2C chip"
682 depends on LEDS_CLASS && I2C
683 help
684 This option enables support for LEDs connected to TC6507
685 LED driver chips accessed via the I2C bus.
686 Driver support brightness control and hardware-assisted blinking.
687
e370d010
AL
688config LEDS_TLC591XX
689 tristate "LED driver for TLC59108 and TLC59116 controllers"
690 depends on LEDS_CLASS && I2C
691 select REGMAP_I2C
692 help
693 This option enables support for Texas Instruments TLC59108
694 and TLC59116 LED controllers.
695
5be102eb
BG
696config LEDS_MAX77650
697 tristate "LED support for Maxim MAX77650 PMIC"
698 depends on LEDS_CLASS && MFD_MAX77650
699 help
700 LEDs driver for MAX77650 family of PMICs from Maxim Integrated.
701
a43f6a86
JA
702config LEDS_MAX77693
703 tristate "LED support for MAX77693 Flash"
704 depends on LEDS_CLASS_FLASH
10c19c9e 705 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
a43f6a86
JA
706 depends on MFD_MAX77693
707 depends on OF
708 help
709 This option enables support for the flash part of the MAX77693
710 multifunction device. It has build in control for two leds in flash
711 and torch mode.
712
8584cb82
DK
713config LEDS_MAX8997
714 tristate "LED support for MAX8997 PMIC"
715 depends on LEDS_CLASS && MFD_MAX8997
716 help
717 This option enables support for on-chip LED drivers on
718 MAXIM MAX8997 PMIC.
719
b98d13c7 720config LEDS_LM355x
6204f03d 721 tristate "LED support for LM3554 and LM3556 chips"
32abb478
SJ
722 depends on LEDS_CLASS && I2C
723 select REGMAP_I2C
724 help
6204f03d
PM
725 This option enables support for LEDs connected to LM3554
726 and LM3556. It includes Torch, Flash and Indicator functions.
32abb478 727
e9a4593c
SAS
728config LEDS_OT200
729 tristate "LED support for the Bachmann OT200"
d9e8928f 730 depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
e9a4593c
SAS
731 help
732 This option enables support for the LEDs on the Bachmann OT200.
733 Say Y to enable LEDs on the Bachmann OT200.
734
38433639
AW
735config LEDS_MENF21BMC
736 tristate "LED support for the MEN 14F021P00 BMC"
737 depends on LEDS_CLASS && MFD_MENF21BMC
738 help
739 Say Y here to include support for the MEN 14F021P00 BMC LEDs.
740
741 This driver can also be built as a module. If so the module
742 will be called leds-menf21bmc.
743
b7da8c5c
IK
744config LEDS_KTD2692
745 tristate "LED support for KTD2692 flash LED controller"
6e3956cd
GU
746 depends on LEDS_CLASS_FLASH && OF
747 depends on GPIOLIB || COMPILE_TEST
b7da8c5c
IK
748 help
749 This option enables support for KTD2692 LED flash connected
750 through ExpressWire interface.
751
752 Say Y to enable this driver.
753
8c40b7d0
NS
754config LEDS_IS31FL319X
755 tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
756 depends on LEDS_CLASS && I2C && OF
757 select REGMAP_I2C
758 help
759 This option enables support for LEDs connected to ISSI IS31FL319x
760 fancy LED driver chips accessed via the I2C bus.
761 Driver supports individual PWM brightness control for each channel.
762
763 This driver can also be built as a module. If so the module will be
764 called leds-is31fl319x.
765
9d7cffaf
DR
766config LEDS_IS31FL32XX
767 tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
768 depends on LEDS_CLASS && I2C && OF
769 help
e0442d7d
DR
770 Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
771 LED controllers. They are I2C devices with multiple constant-current
772 channels, each with independent 256-level PWM control.
9d7cffaf 773
e081c49e
BW
774config LEDS_SC27XX_BLTC
775 tristate "LED support for the SC27xx breathing light controller"
776 depends on LEDS_CLASS && MFD_SC27XX_PMIC
777 depends on OF
778 help
779 Say Y here to include support for the SC27xx breathing light controller
780 LEDs.
781
782 This driver can also be built as a module. If so the module will be
783 called leds-sc27xx-bltc.
784
f70ed8a6
VD
785comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
786
b54cf35a
JSM
787config LEDS_BLINKM
788 tristate "LED support for the BlinkM I2C RGB LED"
789 depends on LEDS_CLASS
790 depends on I2C
791 help
792 This option enables support for the BlinkM RGB LED connected
793 through I2C. Say Y to enable support for the BlinkM LED.
794
84ad6e5c
VH
795config LEDS_POWERNV
796 tristate "LED support for PowerNV Platform"
797 depends on LEDS_CLASS
798 depends on PPC_POWERNV
799 depends on OF
800 help
801 This option enables support for the system LEDs present on
802 PowerNV platforms. Say 'y' to enable this support in kernel.
803 To compile this driver as a module, choose 'm' here: the module
804 will be called leds-powernv.
805
535f09cc
LW
806config LEDS_SYSCON
807 bool "LED support for LEDs on system controllers"
808 depends on LEDS_CLASS=y
809 depends on MFD_SYSCON
810 depends on OF
811 help
54b6c127 812 This option enables support for the LEDs on syscon type
535f09cc
LW
813 devices. This will only work with device tree enabled
814 devices.
815
7f866986
LW
816config LEDS_PM8058
817 tristate "LED Support for the Qualcomm PM8058 PMIC"
40a3a0f2 818 depends on MFD_PM8XXX
7f866986
LW
819 depends on LEDS_CLASS
820 help
821 Choose this option if you want to use the LED drivers in
822 the Qualcomm PM8058 PMIC.
823
be4fdf99
VP
824config LEDS_MLXCPLD
825 tristate "LED support for the Mellanox boards"
8f886de1 826 depends on X86 && DMI
be4fdf99
VP
827 depends on LEDS_CLASS
828 help
54b6c127
VP
829 This option enables support for the LEDs on the Mellanox
830 boards. Say Y to enable these.
be4fdf99 831
386570d7
VP
832config LEDS_MLXREG
833 tristate "LED support for the Mellanox switches management control"
834 depends on LEDS_CLASS
835 help
836 This option enables support for the LEDs on the Mellanox Ethernet and
837 InfiniBand switches. The driver can be activated by the platform device
838 device add call. Say Y to enable these. To compile this driver as a
839 module, choose 'M' here: the module will be called leds-mlxreg.
840
e381322b
DL
841config LEDS_USER
842 tristate "Userspace LED support"
843 depends on LEDS_CLASS
844 help
845 This option enables support for userspace LEDs. Say 'y' to enable this
846 support in kernel. To compile this driver as a module, choose 'm' here:
847 the module will be called uleds.
848
8338eab5
HCO
849config LEDS_NIC78BX
850 tristate "LED support for NI PXI NIC78bx devices"
851 depends on LEDS_CLASS
852 depends on X86 && ACPI
853 help
854 This option enables support for the User1 and User2 LEDs on NI
855 PXI NIC78bx devices.
856
857 To compile this driver as a module, choose M here: the module
858 will be called leds-nic78bx.
859
e9a804d7
CM
860config LEDS_SPI_BYTE
861 tristate "LED support for SPI LED controller with a single byte"
862 depends on LEDS_CLASS
863 depends on SPI
864 depends on OF
865 help
866 This option enables support for LED controller which use a single byte
867 for controlling the brightness. Currently the following controller is
868 supported: Ubiquiti airCube ISP microcontroller based LED controller.
869
3fce8e1e
DM
870config LEDS_TI_LMU_COMMON
871 tristate "LED driver for TI LMU"
872 depends on LEDS_CLASS
873 depends on REGMAP
874 help
875 Say Y to enable the LED driver for TI LMU devices.
876 This supports common features between the TI LM3532, LM3631, LM3632,
877 LM3633, LM3695 and LM3697.
878
5c1d824c
DM
879config LEDS_LM3697
880 tristate "LED driver for LM3697"
881 depends on LEDS_TI_LMU_COMMON
882 depends on I2C && OF
883 help
884 Say Y to enable the LM3697 LED driver for TI LMU devices.
885 This supports the LED device LM3697.
886
11e1bbc1
DM
887config LEDS_LM36274
888 tristate "LED driver for LM36274"
889 depends on LEDS_TI_LMU_COMMON
890 depends on MFD_TI_LMU
891 help
892 Say Y to enable the LM36274 LED driver for TI LMU devices.
893 This supports the LED device LM36274.
894
b3b42b4a
SVA
895config LEDS_TPS6105X
896 tristate "LED support for TI TPS6105X"
897 depends on LEDS_CLASS
898 depends on TPS6105X
899 default y if TPS6105X
900 help
901 This driver supports TPS61050/TPS61052 LED chips.
902 It is a single boost converter primarily for white LEDs and
903 audio amplifiers.
904
64d7e231
TB
905config LEDS_IP30
906 tristate "LED support for SGI Octane machines"
907 depends on LEDS_CLASS
2aebb780 908 depends on SGI_MFD_IOC3 || COMPILE_TEST
64d7e231
TB
909 help
910 This option enables support for the Red and White LEDs of
911 SGI Octane machines.
912
913 To compile this driver as a module, choose M here: the module
914 will be called leds-ip30.
915
cef8ec8c
LW
916config LEDS_SGM3140
917 tristate "LED support for the SGM3140"
918 depends on LEDS_CLASS_FLASH
919 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
920 help
921 This option enables support for the SGM3140 500mA Buck/Boost Charge
922 Pump LED Driver.
923
1ece06ac
DO
924config LEDS_ACER_A500
925 tristate "Power button LED support for Acer Iconia Tab A500"
926 depends on LEDS_CLASS && MFD_ACER_A500_EC
927 help
928 This option enables support for the Power Button LED of
929 Acer Iconia Tab A500.
930
e1c6edcb
LW
931comment "Flash and Torch LED drivers"
932source "drivers/leds/flash/Kconfig"
933
d09e1666 934comment "LED Triggers"
f07fb521 935source "drivers/leds/trigger/Kconfig"
44e1e9f8 936
c3987cd2
AM
937comment "LED Blink"
938source "drivers/leds/blink/Kconfig"
939
66242f7e 940endif # NEW_LEDS