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