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