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