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