Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0-only
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
9# This library does not depend on NEW_LEDS and must be independent so it can be
10# selected from other subsystems (specifically backlight).
11config LEDS_EXPRESSWIRE
12 bool
13 depends on GPIOLIB
14
15menuconfig NEW_LEDS
16 bool "LED Support"
17 help
18 Say Y to enable Linux LED support. This allows control of supported
19 LEDs from both userspace and optionally, by kernel events (triggers).
20
21if NEW_LEDS
22
23config LEDS_CLASS
24 tristate "LED Class Support"
25 help
26 This option enables the LED sysfs class in /sys/class/leds. You'll
27 need this to do anything useful with LEDs. If unsure, say Y.
28
29config LEDS_CLASS_FLASH
30 tristate "LED Flash Class Support"
31 depends on LEDS_CLASS
32 help
33 This option enables the flash LED sysfs class in /sys/class/leds.
34 It wraps LED Class and adds flash LEDs specific sysfs attributes
35 and kernel internal API to it. You'll need this to provide support
36 for the flash related features of a LED device. It can be built
37 as a module.
38
39config LEDS_CLASS_MULTICOLOR
40 tristate "LED Multicolor Class Support"
41 depends on LEDS_CLASS
42 help
43 This option enables the multicolor LED sysfs class in /sys/class/leds.
44 It wraps LED class and adds multicolor LED specific sysfs attributes
45 and kernel internal API to it. You'll need this to provide support
46 for multicolor LEDs that are grouped together. This class is not
47 intended for single color LEDs. It can be built as a module.
48
49config LEDS_BRIGHTNESS_HW_CHANGED
50 bool "LED Class brightness_hw_changed attribute support"
51 depends on LEDS_CLASS
52 help
53 This option enables support for the brightness_hw_changed attribute
54 for LED sysfs class devices under /sys/class/leds.
55
56 See Documentation/ABI/testing/sysfs-class-led for details.
57
58config LEDS_KUNIT_TEST
59 tristate "KUnit tests for LEDs"
60 depends on KUNIT && LEDS_CLASS
61 default KUNIT_ALL_TESTS
62 help
63 Say Y here to enable KUnit testing for the LEDs framework.
64
65comment "LED drivers"
66
67config LEDS_88PM860X
68 tristate "LED Support for Marvell 88PM860x PMIC"
69 depends on LEDS_CLASS
70 depends on MFD_88PM860X
71 help
72 This option enables support for on-chip LED drivers found on Marvell
73 Semiconductor 88PM8606 PMIC.
74
75config LEDS_AN30259A
76 tristate "LED support for Panasonic AN30259A"
77 depends on LEDS_CLASS && I2C && OF
78 help
79 This option enables support for the AN30259A 3-channel
80 LED driver.
81
82 To compile this driver as a module, choose M here: the module
83 will be called leds-an30259a.
84
85config LEDS_APU
86 tristate "Front panel LED support for PC Engines APU/APU2/APU3 boards"
87 depends on LEDS_CLASS
88 depends on X86 && DMI
89 help
90 This driver makes the PC Engines APU1 front panel LEDs
91 accessible from userspace programs through the LED subsystem.
92
93 If you're looking for APU2/3, use the pcengines-apu2 driver.
94 (symbol CONFIG_PCENGINES_APU2)
95
96 To compile this driver as a module, choose M here: the
97 module will be called leds-apu.
98
99config LEDS_ARIEL
100 tristate "Dell Wyse 3020 status LED support"
101 depends on LEDS_CLASS
102 depends on (MACH_MMP3_DT && MFD_ENE_KB3930) || COMPILE_TEST
103 help
104 This driver adds support for controlling the front panel status
105 LEDs on Dell Wyse 3020 (Ariel) board via the KB3930 Embedded
106 Controller.
107
108 Say Y to if your machine is a Dell Wyse 3020 thin client.
109
110config LEDS_AW200XX
111 tristate "LED support for Awinic AW20036/AW20054/AW20072/AW20108"
112 depends on LEDS_CLASS
113 depends on I2C
114 help
115 This option enables support for the Awinic AW200XX LED controllers.
116 It is a matrix LED driver programmed via an I2C interface. Devices have
117 a set of individually controlled LEDs and support 3 pattern controllers
118 for auto breathing or group dimming control. Supported devices:
119 - AW20036 (3x12) 36 LEDs
120 - AW20054 (6x9) 54 LEDs
121 - AW20072 (6x12) 72 LEDs
122 - AW20108 (9x12) 108 LEDs
123
124 To compile this driver as a module, choose M here: the module
125 will be called leds-aw200xx.
126
127config LEDS_AW2013
128 tristate "LED support for Awinic AW2013"
129 depends on LEDS_CLASS && I2C && OF
130 select REGMAP_I2C
131 help
132 This option enables support for the AW2013 3-channel
133 LED driver.
134
135 To compile this driver as a module, choose M here: the module
136 will be called leds-aw2013.
137
138config LEDS_BCM6328
139 tristate "LED Support for Broadcom BCM6328"
140 depends on LEDS_CLASS
141 depends on HAS_IOMEM
142 depends on OF
143 help
144 This option enables support for LEDs connected to the BCM6328
145 LED HW controller accessed via MMIO registers.
146
147config LEDS_BCM6358
148 tristate "LED Support for Broadcom BCM6358"
149 depends on LEDS_CLASS
150 depends on HAS_IOMEM
151 depends on OF
152 help
153 This option enables support for LEDs connected to the BCM6358
154 LED HW controller accessed via MMIO registers.
155
156config LEDS_CHT_WCOVE
157 tristate "LED support for Intel Cherry Trail Whiskey Cove PMIC"
158 depends on LEDS_CLASS
159 depends on INTEL_SOC_PMIC_CHTWC
160 help
161 This option enables support for charger and general purpose LEDs
162 connected to the Intel Cherrytrail Whiskey Cove PMIC.
163
164 To compile this driver as a module, choose M here: the module
165 will be called leds-cht-wcove.
166
167config LEDS_CPCAP
168 tristate "LED Support for Motorola CPCAP"
169 depends on LEDS_CLASS
170 depends on MFD_CPCAP
171 depends on OF
172 help
173 This option enables support for LEDs offered by Motorola's
174 CPCAP PMIC.
175
176config LEDS_CR0014114
177 tristate "LED Support for Crane CR0014114"
178 depends on LEDS_CLASS
179 depends on SPI
180 depends on OF
181 help
182 This option enables support for CR0014114 LED Board which
183 is widely used in vending machines produced by
184 Crane Merchandising Systems.
185
186 To compile this driver as a module, choose M here: the module
187 will be called leds-cr0014114.
188
189config LEDS_CROS_EC
190 tristate "LED Support for ChromeOS EC"
191 depends on MFD_CROS_EC_DEV
192 depends on LEDS_CLASS_MULTICOLOR
193 select LEDS_TRIGGERS
194 default MFD_CROS_EC_DEV
195 help
196 This option enables support for LEDs managed by ChromeOS ECs.
197 All LEDs exposed by the EC are supported in multicolor mode.
198 A hardware trigger to switch back to the automatic behaviour is
199 provided.
200
201 To compile this driver as a module, choose M here: the module
202 will be called leds-cros_ec.
203
204config LEDS_EL15203000
205 tristate "LED Support for Crane EL15203000"
206 depends on LEDS_CLASS
207 depends on SPI
208 depends on OF
209 help
210 This option enables support for EL15203000 LED Board
211 (aka RED LED board) which is widely used in coffee vending
212 machines produced by Crane Merchandising Systems.
213
214 To compile this driver as a module, choose M here: the module
215 will be called leds-el15203000.
216
217config LEDS_TURRIS_OMNIA
218 tristate "LED support for CZ.NIC's Turris Omnia"
219 depends on LEDS_CLASS_MULTICOLOR
220 depends on I2C
221 depends on MACH_ARMADA_38X || COMPILE_TEST
222 depends on OF
223 depends on TURRIS_OMNIA_MCU
224 depends on TURRIS_OMNIA_MCU_GPIO
225 select LEDS_TRIGGERS
226 help
227 This option enables basic support for the LEDs found on the front
228 side of CZ.NIC's Turris Omnia router. There are 12 RGB LEDs on the
229 front panel.
230
231config LEDS_LM3530
232 tristate "LCD Backlight driver for LM3530"
233 depends on LEDS_CLASS
234 depends on I2C
235 help
236 This option enables support for the LCD backlight using
237 LM3530 ambient light sensor chip. This ALS chip can be
238 controlled manually or using PWM input or using ambient
239 light automatically.
240
241config LEDS_LM3532
242 tristate "LCD Backlight driver for LM3532"
243 select REGMAP_I2C
244 depends on LEDS_CLASS
245 depends on I2C
246 help
247 This option enables support for the LCD backlight using
248 LM3532 ambient light sensor chip. This ALS chip can be
249 controlled manually or using PWM input or using ambient
250 light automatically.
251
252config LEDS_LM3533
253 tristate "LED support for LM3533"
254 depends on LEDS_CLASS
255 depends on MFD_LM3533
256 help
257 This option enables support for the LEDs on National Semiconductor /
258 TI LM3533 Lighting Power chips.
259
260 The LEDs can be controlled directly, through PWM input, or by the
261 ambient-light-sensor interface. The chip supports
262 hardware-accelerated blinking with maximum on and off periods of 9.8
263 and 77 seconds respectively.
264
265config LEDS_LM3642
266 tristate "LED support for LM3642 Chip"
267 depends on LEDS_CLASS && I2C
268 select REGMAP_I2C
269 help
270 This option enables support for LEDs connected to LM3642.
271 The LM3642 is a 4MHz fixed-frequency synchronous boost
272 converter plus 1.5A constant current driver for a high-current
273 white LED.
274
275config LEDS_LM3692X
276 tristate "LED support for LM3692x Chips"
277 depends on LEDS_CLASS && I2C && OF
278 select REGMAP_I2C
279 help
280 This option enables support for the TI LM3692x family
281 of white LED string drivers used for backlighting.
282
283config LEDS_LOCOMO
284 tristate "LED Support for Locomo device"
285 depends on LEDS_CLASS
286 depends on SHARP_LOCOMO
287 help
288 This option enables support for the LEDs on Sharp Locomo.
289 Zaurus models SL-5500 and SL-5600.
290
291config LEDS_MIKROTIK_RB532
292 tristate "LED Support for Mikrotik Routerboard 532"
293 depends on LEDS_CLASS
294 depends on MIKROTIK_RB532
295 help
296 This option enables support for the so called "User LED" of
297 Mikrotik's Routerboard 532.
298
299config LEDS_MT6323
300 tristate "LED Support for Mediatek MT6323 PMIC"
301 depends on LEDS_CLASS
302 depends on MFD_MT6397
303 help
304 This option enables support for on-chip LED drivers found on
305 Mediatek MT6323 PMIC.
306
307config LEDS_NET48XX
308 tristate "LED Support for Soekris net48xx series Error LED"
309 depends on LEDS_CLASS
310 depends on SCx200_GPIO
311 help
312 This option enables support for the Soekris net4801 and net4826 error
313 LED.
314
315config LEDS_WRAP
316 tristate "LED Support for the WRAP series LEDs"
317 depends on LEDS_CLASS
318 depends on SCx200_GPIO
319 help
320 This option enables support for the PCEngines WRAP programmable LEDs.
321
322config LEDS_COBALT_QUBE
323 tristate "LED Support for the Cobalt Qube series front LED"
324 depends on LEDS_CLASS
325 depends on MIPS_COBALT || COMPILE_TEST
326 help
327 This option enables support for the front LED on Cobalt Qube series
328
329config LEDS_COBALT_RAQ
330 bool "LED Support for the Cobalt Raq series"
331 depends on LEDS_CLASS=y && (MIPS_COBALT || COMPILE_TEST)
332 select LEDS_TRIGGERS
333 help
334 This option enables support for the Cobalt Raq series LEDs.
335
336config LEDS_SUN50I_A100
337 tristate "LED support for Allwinner A100 RGB LED controller"
338 depends on LEDS_CLASS_MULTICOLOR
339 depends on ARCH_SUNXI || COMPILE_TEST
340 help
341 This option enables support for the RGB LED controller found
342 in some Allwinner sunxi SoCs, including A100, R329, and D1.
343 It uses a one-wire interface to control up to 1024 LEDs.
344
345config LEDS_SUNFIRE
346 tristate "LED support for SunFire servers."
347 depends on LEDS_CLASS
348 depends on SPARC64
349 select LEDS_TRIGGERS
350 help
351 This option enables support for the Left, Middle, and Right
352 LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
353
354config LEDS_IPAQ_MICRO
355 tristate "LED Support for the Compaq iPAQ h3xxx"
356 depends on LEDS_CLASS
357 depends on MFD_IPAQ_MICRO
358 help
359 Choose this option if you want to use the notification LED on
360 Compaq/HP iPAQ h3100 and h3600.
361
362config LEDS_HP6XX
363 tristate "LED Support for the HP Jornada 6xx"
364 depends on LEDS_CLASS
365 depends on SH_HP6XX
366 help
367 This option enables LED support for the handheld
368 HP Jornada 620/660/680/690.
369
370config LEDS_PCA9532
371 tristate "LED driver for PCA9532 dimmer"
372 depends on LEDS_CLASS
373 depends on I2C && INPUT
374 help
375 This option enables support for NXP pca9532
376 LED controller. It is generally only useful
377 as a platform driver
378
379config LEDS_PCA9532_GPIO
380 bool "Enable GPIO support for PCA9532"
381 depends on LEDS_PCA9532
382 depends on GPIOLIB
383 help
384 Allow unused pins on PCA9532 to be used as gpio.
385
386 To use a pin as gpio pca9532_type in pca9532_platform data needs to
387 set to PCA9532_TYPE_GPIO.
388
389config LEDS_GPIO
390 tristate "LED Support for GPIO connected LEDs"
391 depends on LEDS_CLASS
392 depends on GPIOLIB || COMPILE_TEST
393 help
394 This option enables support for the LEDs connected to GPIO
395 outputs. To be useful the particular board must have LEDs
396 and they must be connected to the GPIO lines. The LEDs must be
397 defined as platform devices and/or OpenFirmware platform devices.
398 The code to use these bindings can be selected below.
399
400config LEDS_LP3944
401 tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
402 depends on LEDS_CLASS
403 depends on I2C
404 help
405 This option enables support for LEDs connected to the National
406 Semiconductor LP3944 Lighting Management Unit (LMU) also known as
407 Fun Light Chip.
408
409 To compile this driver as a module, choose M here: the
410 module will be called leds-lp3944.
411
412config LEDS_LP3952
413 tristate "LED Support for TI LP3952 2 channel LED driver"
414 depends on LEDS_CLASS
415 depends on I2C
416 depends on GPIOLIB
417 select REGMAP_I2C
418 help
419 This option enables support for LEDs connected to the Texas
420 Instruments LP3952 LED driver.
421
422 To compile this driver as a module, choose M here: the
423 module will be called leds-lp3952.
424
425config LEDS_LP50XX
426 tristate "LED Support for TI LP5036/30/24/18/12/09 LED driver chip"
427 depends on LEDS_CLASS && REGMAP_I2C
428 depends on LEDS_CLASS_MULTICOLOR
429 help
430 If you say yes here you get support for the Texas Instruments
431 LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 LED driver.
432
433 To compile this driver as a module, choose M here: the
434 module will be called leds-lp50xx.
435
436config LEDS_LP55XX_COMMON
437 tristate "Common Driver for TI/National LP5521/5523/55231/5562/5569/8501"
438 depends on LEDS_CLASS
439 depends on LEDS_CLASS_MULTICOLOR
440 depends on OF
441 depends on I2C
442 imply FW_LOADER
443 imply FW_LOADER_USER_HELPER
444 help
445 This option supports common operations for LP5521/5523/55231/5562/5569/
446 8501 devices.
447
448config LEDS_LP5521
449 tristate "LED Support for N.S. LP5521 LED driver chip"
450 depends on LEDS_CLASS && I2C
451 depends on LEDS_LP55XX_COMMON
452 help
453 If you say yes here you get support for the National Semiconductor
454 LP5521 LED driver. It is 3 channel chip with programmable engines.
455 Driver provides direct control via LED class and interface for
456 programming the engines.
457
458config LEDS_LP5523
459 tristate "LED Support for TI/National LP5523/55231 LED driver chip"
460 depends on LEDS_CLASS && I2C
461 depends on LEDS_LP55XX_COMMON
462 help
463 If you say yes here you get support for TI/National Semiconductor
464 LP5523/55231 LED driver.
465 It is 9 channel chip with programmable engines.
466 Driver provides direct control via LED class and interface for
467 programming the engines.
468
469config LEDS_LP5562
470 tristate "LED Support for TI LP5562 LED driver chip"
471 depends on LEDS_CLASS && I2C
472 depends on LEDS_LP55XX_COMMON
473 help
474 If you say yes here you get support for TI LP5562 LED driver.
475 It is 4 channels chip with programmable engines.
476 Driver provides direct control via LED class and interface for
477 programming the engines.
478
479config LEDS_LP5569
480 tristate "LED Support for TI LP5569 LED driver chip"
481 depends on LEDS_CLASS && I2C
482 depends on LEDS_LP55XX_COMMON
483 help
484 If you say yes here you get support for TI LP5569 LED driver.
485 It is 9 channels chip with programmable engines.
486 Driver provides direct control via LED class and interface for
487 programming the engines.
488
489config LEDS_LP8501
490 tristate "LED Support for TI LP8501 LED driver chip"
491 depends on LEDS_CLASS && I2C
492 depends on LEDS_LP55XX_COMMON
493 help
494 If you say yes here you get support for TI LP8501 LED driver.
495 It is 9 channel chip with programmable engines.
496 Driver provides direct control via LED class and interface for
497 programming the engines.
498 It is similar as LP5523, but output power selection is available.
499 And register layout and engine program schemes are different.
500
501config LEDS_LP8788
502 tristate "LED support for the TI LP8788 PMIC"
503 depends on LEDS_CLASS
504 depends on MFD_LP8788
505 help
506 This option enables support for the Keyboard LEDs on the LP8788 PMIC.
507
508config LEDS_LP8860
509 tristate "LED support for the TI LP8860 4 channel LED driver"
510 depends on LEDS_CLASS && I2C && OF
511 select REGMAP_I2C
512 help
513 If you say yes here you get support for the TI LP8860 4 channel
514 LED driver.
515 This option enables support for the display cluster LEDs
516 on the LP8860 4 channel LED driver using the I2C communication
517 bus.
518
519config LEDS_LP8864
520 tristate "LED support for the TI LP8864/LP8866 4/6 channel LED drivers"
521 depends on LEDS_CLASS && I2C && OF
522 select REGMAP_I2C
523 help
524 If you say yes here you get support for the TI LP8864-Q1,
525 LP8864S-Q1, LP8866-Q1, LP8866S-Q1 4/6 channel LED backlight
526 drivers with I2C interface.
527
528 To compile this driver as a module, choose M here: the
529 module will be called leds-lp8864.
530
531config LEDS_CLEVO_MAIL
532 tristate "Mail LED on Clevo notebook"
533 depends on LEDS_CLASS && BROKEN
534 depends on X86 && SERIO_I8042 && DMI
535 help
536 This driver makes the mail LED accessible from userspace
537 programs through the LEDs subsystem. This LED has three
538 known modes: off, blink at 0.5Hz and blink at 1Hz.
539
540 The driver supports two kinds of interface: using ledtrig-timer
541 or through /sys/class/leds/clevo::mail/brightness. As this LED
542 cannot change its brightness it blinks instead. The brightness
543 value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
544 blink at 1Hz.
545
546 This module can drive the mail LED for the following notebooks:
547
548 Clevo D400P
549 Clevo D410J
550 Clevo D410V
551 Clevo D400V/D470V (not tested, but might work)
552 Clevo M540N
553 Clevo M5x0N (not tested, but might work)
554 Positivo Mobile (Clevo M5x0V)
555
556 If your model is not listed here you can try the "nodetect"
557 module parameter.
558
559 To compile this driver as a module, choose M here: the
560 module will be called leds-clevo-mail.
561
562config LEDS_PCA955X
563 tristate "LED Support for PCA955x I2C chips"
564 depends on LEDS_CLASS
565 depends on I2C
566 help
567 This option enables support for LEDs connected to PCA955x
568 LED driver chips accessed via the I2C bus. Supported
569 devices include PCA9550, PCA9551, PCA9552, and PCA9553.
570
571config LEDS_PCA955X_GPIO
572 bool "Enable GPIO support for PCA955X"
573 depends on LEDS_PCA955X
574 depends on GPIOLIB
575 help
576 Allow unused pins on PCA955X to be used as gpio.
577
578 To use a pin as gpio the pin type should be set to
579 PCA955X_TYPE_GPIO in the device tree.
580
581
582config LEDS_PCA963X
583 tristate "LED support for PCA963x I2C chip"
584 depends on LEDS_CLASS
585 depends on I2C
586 help
587 This option enables support for LEDs connected to the PCA963x
588 LED driver chip accessed via the I2C bus. Supported
589 devices include PCA9633 and PCA9634
590
591config LEDS_PCA995X
592 tristate "LED Support for PCA995x I2C chips"
593 depends on LEDS_CLASS
594 depends on I2C
595 help
596 This option enables support for LEDs connected to PCA995x
597 LED driver chips accessed via the I2C bus. Supported
598 devices include PCA9955BTW, PCA9952TW and PCA9955TW.
599
600config LEDS_QNAP_MCU
601 tristate "LED Support for QNAP MCU controllers"
602 depends on LEDS_CLASS
603 depends on MFD_QNAP_MCU
604 help
605 This option enables support for LEDs available on embedded
606 controllers used in QNAP NAS devices.
607
608 This driver can also be built as a module. If so, the module
609 will be called qnap-mcu-leds.
610
611config LEDS_WM831X_STATUS
612 tristate "LED support for status LEDs on WM831x PMICs"
613 depends on LEDS_CLASS
614 depends on MFD_WM831X
615 help
616 This option enables support for the status LEDs of the WM831x
617 series of PMICs.
618
619config LEDS_WM8350
620 tristate "LED Support for WM8350 AudioPlus PMIC"
621 depends on LEDS_CLASS
622 depends on MFD_WM8350
623 help
624 This option enables support for LEDs driven by the Wolfson
625 Microelectronics WM8350 AudioPlus PMIC.
626
627config LEDS_DA903X
628 tristate "LED Support for DA9030/DA9034 PMIC"
629 depends on LEDS_CLASS
630 depends on PMIC_DA903X
631 help
632 This option enables support for on-chip LED drivers found
633 on Dialog Semiconductor DA9030/DA9034 PMICs.
634
635config LEDS_DA9052
636 tristate "Dialog DA9052/DA9053 LEDS"
637 depends on LEDS_CLASS
638 depends on PMIC_DA9052
639 help
640 This option enables support for on-chip LED drivers found
641 on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
642
643config LEDS_DAC124S085
644 tristate "LED Support for DAC124S085 SPI DAC"
645 depends on LEDS_CLASS
646 depends on SPI
647 help
648 This option enables support for DAC124S085 SPI DAC from NatSemi,
649 which can be used to control up to four LEDs.
650
651config LEDS_PWM
652 tristate "PWM driven LED Support"
653 depends on LEDS_CLASS
654 depends on PWM
655 help
656 This option enables support for pwm driven LEDs
657
658config LEDS_REGULATOR
659 tristate "REGULATOR driven LED support"
660 depends on LEDS_CLASS
661 depends on REGULATOR
662 help
663 This option enables support for regulator driven LEDs.
664
665config LEDS_BD2606MVV
666 tristate "LED driver for BD2606MVV"
667 depends on LEDS_CLASS
668 depends on I2C
669 select REGMAP_I2C
670 help
671 This option enables support for BD2606MVV LED driver chips
672 accessed via the I2C bus. It supports setting brightness, with
673 the limitation that there are groups of two channels sharing
674 a brightness setting, but not the on/off setting.
675
676 To compile this driver as a module, choose M here: the module will
677 be called leds-bd2606mvv.
678
679config LEDS_BD2802
680 tristate "LED driver for BD2802 RGB LED"
681 depends on LEDS_CLASS
682 depends on I2C
683 help
684 This option enables support for BD2802GU RGB LED driver chips
685 accessed via the I2C bus.
686
687config LEDS_INTEL_SS4200
688 tristate "LED driver for Intel NAS SS4200 series"
689 depends on LEDS_CLASS
690 depends on PCI && DMI
691 depends on X86
692 help
693 This option enables support for the Intel SS4200 series of
694 Network Attached Storage servers. You may control the hard
695 drive or power LEDs on the front panel. Using this driver
696 can stop the front LED from blinking after startup.
697
698config LEDS_LT3593
699 tristate "LED driver for LT3593 controllers"
700 depends on LEDS_CLASS
701 depends on GPIOLIB || COMPILE_TEST
702 help
703 This option enables support for LEDs driven by a Linear Technology
704 LT3593 controller. This controller uses a special one-wire pulse
705 coding protocol to set the brightness.
706
707config LEDS_ADP5520
708 tristate "LED Support for ADP5520/ADP5501 PMIC"
709 depends on LEDS_CLASS
710 depends on PMIC_ADP5520
711 help
712 This option enables support for on-chip LED drivers found
713 on Analog Devices ADP5520/ADP5501 PMICs.
714
715 To compile this driver as a module, choose M here: the module will
716 be called leds-adp5520.
717
718config LEDS_MAX5970
719 tristate "LED Support for Maxim 5970"
720 depends on LEDS_CLASS
721 depends on MFD_MAX5970
722 help
723 This option enables support for the Maxim MAX5970 & MAX5978 smart
724 switch indication LEDs via the I2C bus.
725
726 To compile this driver as a module, choose M here: the module will
727 be called leds-max5970.
728
729config LEDS_MC13783
730 tristate "LED Support for MC13XXX PMIC"
731 depends on LEDS_CLASS
732 depends on MFD_MC13XXX
733 help
734 This option enables support for on-chip LED drivers found
735 on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
736
737config LEDS_NS2
738 tristate "LED support for Network Space v2 GPIO LEDs"
739 depends on LEDS_CLASS
740 depends on MACH_KIRKWOOD || MACH_ARMADA_370 || COMPILE_TEST
741 default y if MACH_KIRKWOOD || MACH_ARMADA_370
742 help
743 This option enables support for the dual-GPIO LEDs found on the
744 following LaCie/Seagate boards:
745
746 Network Space v2 (and parents: Max, Mini)
747 Internet Space v2
748 d2 Network v2
749 n090401 (Seagate NAS 4-Bay)
750
751config LEDS_NETXBIG
752 tristate "LED support for Big Network series LEDs"
753 depends on LEDS_CLASS
754 depends on MACH_KIRKWOOD || COMPILE_TEST
755 depends on OF_GPIO
756 default MACH_KIRKWOOD
757 help
758 This option enables support for LEDs found on the LaCie 2Big
759 and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
760 controlled through a GPIO extension bus.
761
762config LEDS_TCA6507
763 tristate "LED Support for TCA6507 I2C chip"
764 depends on LEDS_CLASS && I2C
765 help
766 This option enables support for LEDs connected to TC6507
767 LED driver chips accessed via the I2C bus.
768 Driver support brightness control and hardware-assisted blinking.
769
770config LEDS_TLC591XX
771 tristate "LED driver for TLC59108 and TLC59116 controllers"
772 depends on LEDS_CLASS && I2C
773 select REGMAP_I2C
774 help
775 This option enables support for Texas Instruments TLC59108
776 and TLC59116 LED controllers.
777
778config LEDS_MAX77650
779 tristate "LED support for Maxim MAX77650 PMIC"
780 depends on LEDS_CLASS && MFD_MAX77650
781 help
782 LEDs driver for MAX77650 family of PMICs from Maxim Integrated.
783
784config LEDS_MAX77705
785 tristate "LED support for Maxim MAX77705 PMIC"
786 depends on MFD_MAX77705
787 depends on LEDS_CLASS
788 depends on LEDS_CLASS_MULTICOLOR
789 help
790 LED driver for MAX77705 PMIC from Maxim Integrated.
791
792config LEDS_MAX8997
793 tristate "LED support for MAX8997 PMIC"
794 depends on LEDS_CLASS && MFD_MAX8997
795 help
796 This option enables support for on-chip LED drivers on
797 MAXIM MAX8997 PMIC.
798
799config LEDS_LM355x
800 tristate "LED support for LM3554 and LM3556 chips"
801 depends on LEDS_CLASS && I2C
802 select REGMAP_I2C
803 help
804 This option enables support for LEDs connected to LM3554
805 and LM3556. It includes Torch, Flash and Indicator functions.
806
807config LEDS_OT200
808 tristate "LED support for the Bachmann OT200"
809 depends on LEDS_CLASS && HAS_IOPORT && (X86_32 || COMPILE_TEST)
810 help
811 This option enables support for the LEDs on the Bachmann OT200.
812 Say Y to enable LEDs on the Bachmann OT200.
813
814config LEDS_MENF21BMC
815 tristate "LED support for the MEN 14F021P00 BMC"
816 depends on LEDS_CLASS && MFD_MENF21BMC
817 help
818 Say Y here to include support for the MEN 14F021P00 BMC LEDs.
819
820 This driver can also be built as a module. If so the module
821 will be called leds-menf21bmc.
822
823config LEDS_IS31FL319X
824 tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
825 depends on LEDS_CLASS && I2C
826 select REGMAP_I2C
827 help
828 This option enables support for LEDs connected to ISSI IS31FL319x
829 fancy LED driver chips accessed via the I2C bus.
830 Driver supports individual PWM brightness control for each channel.
831
832 This driver can also be built as a module. If so the module will be
833 called leds-is31fl319x.
834
835config LEDS_IS31FL32XX
836 tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
837 depends on LEDS_CLASS && I2C && OF
838 help
839 Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
840 LED controllers. They are I2C devices with multiple constant-current
841 channels, each with independent 256-level PWM control.
842
843config LEDS_SC27XX_BLTC
844 tristate "LED support for the SC27xx breathing light controller"
845 depends on LEDS_CLASS && MFD_SC27XX_PMIC
846 depends on OF
847 help
848 Say Y here to include support for the SC27xx breathing light controller
849 LEDs.
850
851 This driver can also be built as a module. If so the module will be
852 called leds-sc27xx-bltc.
853
854config LEDS_UPBOARD
855 tristate "LED support for the UP board"
856 depends on LEDS_CLASS && MFD_UPBOARD_FPGA
857 help
858 This option enables support for the UP board LEDs.
859
860 This driver can also be built as a module. If so the module will be
861 called leds-upboard.
862
863comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
864
865config LEDS_BLINKM
866 tristate "LED support for the BlinkM I2C RGB LED"
867 depends on LEDS_CLASS
868 depends on I2C
869 help
870 This option enables support for the BlinkM RGB LED connected
871 through I2C. Say Y to enable support for the BlinkM LED.
872
873config LEDS_BLINKM_MULTICOLOR
874 bool "Enable multicolor support for BlinkM I2C RGB LED"
875 depends on LEDS_BLINKM
876 depends on LEDS_CLASS_MULTICOLOR=y || LEDS_CLASS_MULTICOLOR=LEDS_BLINKM
877 help
878 This option enables multicolor sysfs class support for BlinkM LED and
879 disables the older, separated sysfs interface
880
881config LEDS_POWERNV
882 tristate "LED support for PowerNV Platform"
883 depends on LEDS_CLASS
884 depends on PPC_POWERNV
885 depends on OF
886 help
887 This option enables support for the system LEDs present on
888 PowerNV platforms. Say 'y' to enable this support in kernel.
889 To compile this driver as a module, choose 'm' here: the module
890 will be called leds-powernv.
891
892config LEDS_SYSCON
893 bool "LED support for LEDs on system controllers"
894 depends on LEDS_CLASS=y
895 depends on MFD_SYSCON
896 depends on OF
897 help
898 This option enables support for the LEDs on syscon type
899 devices. This will only work with device tree enabled
900 devices.
901
902config LEDS_PM8058
903 tristate "LED Support for the Qualcomm PM8058 PMIC"
904 depends on MFD_PM8XXX
905 depends on LEDS_CLASS
906 help
907 Choose this option if you want to use the LED drivers in
908 the Qualcomm PM8058 PMIC.
909
910config LEDS_MLXCPLD
911 tristate "LED support for the Mellanox boards"
912 depends on X86 && DMI
913 depends on LEDS_CLASS
914 help
915 This option enables support for the LEDs on the Mellanox
916 boards. Say Y to enable these.
917
918config LEDS_MLXREG
919 tristate "LED support for the Mellanox switches management control"
920 depends on LEDS_CLASS
921 help
922 This option enables support for the LEDs on the Mellanox Ethernet and
923 InfiniBand switches. The driver can be activated by the platform device
924 device add call. Say Y to enable these. To compile this driver as a
925 module, choose 'M' here: the module will be called leds-mlxreg.
926
927config LEDS_USER
928 tristate "Userspace LED support"
929 depends on LEDS_CLASS
930 help
931 This option enables support for userspace LEDs. Say 'y' to enable this
932 support in kernel. To compile this driver as a module, choose 'm' here:
933 the module will be called uleds.
934
935config LEDS_NIC78BX
936 tristate "LED support for NI PXI NIC78bx devices"
937 depends on LEDS_CLASS
938 depends on HAS_IOPORT
939 depends on X86 || COMPILE_TEST
940 help
941 This option enables support for the User1 and User2 LEDs on NI
942 PXI NIC78bx devices.
943
944 To compile this driver as a module, choose M here: the module
945 will be called leds-nic78bx.
946
947config LEDS_SPI_BYTE
948 tristate "LED support for SPI LED controller with a single byte"
949 depends on LEDS_CLASS
950 depends on SPI
951 help
952 This option enables support for LED controller which use a single byte
953 for controlling the brightness. Currently the following controller is
954 supported: Ubiquiti airCube ISP microcontroller based LED controller.
955
956config LEDS_TI_LMU_COMMON
957 tristate "LED driver for TI LMU" if COMPILE_TEST
958 select REGMAP
959 help
960 Say Y to enable the LED driver for TI LMU devices.
961 This supports common features between the TI LM3532, LM3631, LM3632,
962 LM3633, LM3695 and LM3697.
963
964config LEDS_LM3697
965 tristate "LED driver for LM3697"
966 depends on LEDS_CLASS && I2C && OF
967 select LEDS_TI_LMU_COMMON
968 help
969 Say Y to enable the LM3697 LED driver for TI LMU devices.
970 This supports the LED device LM3697.
971
972config LEDS_LM36274
973 tristate "LED driver for LM36274"
974 depends on LEDS_CLASS && MFD_TI_LMU
975 select LEDS_TI_LMU_COMMON
976 help
977 Say Y to enable the LM36274 LED driver for TI LMU devices.
978 This supports the LED device LM36274.
979
980config LEDS_ST1202
981 tristate "LED Support for STMicroelectronics LED1202 I2C chips"
982 depends on LEDS_CLASS
983 depends on I2C
984 depends on OF
985 select LEDS_TRIGGERS
986 select LEDS_TRIGGER_PATTERN
987 help
988 Say Y to enable support for LEDs connected to LED1202
989 LED driver chips accessed via the I2C bus.
990
991config LEDS_TPS6105X
992 tristate "LED support for TI TPS6105X"
993 depends on LEDS_CLASS
994 depends on TPS6105X
995 default y if TPS6105X
996 help
997 This driver supports TPS61050/TPS61052 LED chips.
998 It is a single boost converter primarily for white LEDs and
999 audio amplifiers.
1000
1001config LEDS_IP30
1002 tristate "LED support for SGI Octane machines"
1003 depends on LEDS_CLASS
1004 depends on SGI_MFD_IOC3 || COMPILE_TEST
1005 help
1006 This option enables support for the Red and White LEDs of
1007 SGI Octane machines.
1008
1009 To compile this driver as a module, choose M here: the module
1010 will be called leds-ip30.
1011
1012config LEDS_ACER_A500
1013 tristate "Power button LED support for Acer Iconia Tab A500"
1014 depends on LEDS_CLASS && MFD_ACER_A500_EC
1015 help
1016 This option enables support for the Power Button LED of
1017 Acer Iconia Tab A500.
1018
1019source "drivers/leds/blink/Kconfig"
1020
1021comment "Flash and Torch LED drivers"
1022source "drivers/leds/flash/Kconfig"
1023
1024comment "RGB LED drivers"
1025source "drivers/leds/rgb/Kconfig"
1026
1027comment "LED Triggers"
1028source "drivers/leds/trigger/Kconfig"
1029
1030comment "Simatic LED drivers"
1031source "drivers/leds/simatic/Kconfig"
1032
1033endif # NEW_LEDS