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