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