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