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