xref: /openbmc/linux/drivers/leds/Kconfig (revision 0e73f1ba)
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_PCA995X
525	tristate "LED Support for PCA995x I2C chips"
526	depends on LEDS_CLASS
527	depends on I2C
528	help
529	  This option enables support for LEDs connected to PCA995x
530	  LED driver chips accessed via the I2C bus. Supported
531	  devices include PCA9955BTW, PCA9952TW and PCA9955TW.
532
533config LEDS_WM831X_STATUS
534	tristate "LED support for status LEDs on WM831x PMICs"
535	depends on LEDS_CLASS
536	depends on MFD_WM831X
537	help
538	  This option enables support for the status LEDs of the WM831x
539	  series of PMICs.
540
541config LEDS_WM8350
542	tristate "LED Support for WM8350 AudioPlus PMIC"
543	depends on LEDS_CLASS
544	depends on MFD_WM8350
545	help
546	  This option enables support for LEDs driven by the Wolfson
547	  Microelectronics WM8350 AudioPlus PMIC.
548
549config LEDS_DA903X
550	tristate "LED Support for DA9030/DA9034 PMIC"
551	depends on LEDS_CLASS
552	depends on PMIC_DA903X
553	help
554	  This option enables support for on-chip LED drivers found
555	  on Dialog Semiconductor DA9030/DA9034 PMICs.
556
557config LEDS_DA9052
558	tristate "Dialog DA9052/DA9053 LEDS"
559	depends on LEDS_CLASS
560	depends on PMIC_DA9052
561	help
562	  This option enables support for on-chip LED drivers found
563	  on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
564
565config LEDS_DAC124S085
566	tristate "LED Support for DAC124S085 SPI DAC"
567	depends on LEDS_CLASS
568	depends on SPI
569	help
570	  This option enables support for DAC124S085 SPI DAC from NatSemi,
571	  which can be used to control up to four LEDs.
572
573config LEDS_PWM
574	tristate "PWM driven LED Support"
575	depends on LEDS_CLASS
576	depends on PWM
577	help
578	  This option enables support for pwm driven LEDs
579
580config LEDS_REGULATOR
581	tristate "REGULATOR driven LED support"
582	depends on LEDS_CLASS
583	depends on REGULATOR
584	help
585	  This option enables support for regulator driven LEDs.
586
587config LEDS_BD2606MVV
588	tristate "LED driver for BD2606MVV"
589	depends on LEDS_CLASS
590	depends on I2C
591	select REGMAP_I2C
592	help
593	  This option enables support for BD2606MVV LED driver chips
594	  accessed via the I2C bus. It supports setting brightness, with
595	  the limitiation that there are groups of two channels sharing
596	  a brightness setting, but not the on/off setting.
597
598	  To compile this driver as a module, choose M here: the module will
599	  be called leds-bd2606mvv.
600
601config LEDS_BD2802
602	tristate "LED driver for BD2802 RGB LED"
603	depends on LEDS_CLASS
604	depends on I2C
605	help
606	  This option enables support for BD2802GU RGB LED driver chips
607	  accessed via the I2C bus.
608
609config LEDS_INTEL_SS4200
610	tristate "LED driver for Intel NAS SS4200 series"
611	depends on LEDS_CLASS
612	depends on PCI && DMI
613	depends on X86
614	help
615	  This option enables support for the Intel SS4200 series of
616	  Network Attached Storage servers. You may control the hard
617	  drive or power LEDs on the front panel. Using this driver
618	  can stop the front LED from blinking after startup.
619
620config LEDS_LT3593
621	tristate "LED driver for LT3593 controllers"
622	depends on LEDS_CLASS
623	depends on GPIOLIB || COMPILE_TEST
624	help
625	  This option enables support for LEDs driven by a Linear Technology
626	  LT3593 controller. This controller uses a special one-wire pulse
627	  coding protocol to set the brightness.
628
629config LEDS_ADP5520
630	tristate "LED Support for ADP5520/ADP5501 PMIC"
631	depends on LEDS_CLASS
632	depends on PMIC_ADP5520
633	help
634	  This option enables support for on-chip LED drivers found
635	  on Analog Devices ADP5520/ADP5501 PMICs.
636
637	  To compile this driver as a module, choose M here: the module will
638	  be called leds-adp5520.
639
640config LEDS_MC13783
641	tristate "LED Support for MC13XXX PMIC"
642	depends on LEDS_CLASS
643	depends on MFD_MC13XXX
644	help
645	  This option enables support for on-chip LED drivers found
646	  on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
647
648config LEDS_NS2
649	tristate "LED support for Network Space v2 GPIO LEDs"
650	depends on LEDS_CLASS
651	depends on MACH_KIRKWOOD || MACH_ARMADA_370 || COMPILE_TEST
652	default y
653	help
654	  This option enables support for the dual-GPIO LEDs found on the
655	  following LaCie/Seagate boards:
656
657		Network Space v2 (and parents: Max, Mini)
658		Internet Space v2
659		d2 Network v2
660		n090401 (Seagate NAS 4-Bay)
661
662config LEDS_NETXBIG
663	tristate "LED support for Big Network series LEDs"
664	depends on LEDS_CLASS
665	depends on MACH_KIRKWOOD || COMPILE_TEST
666	depends on OF_GPIO
667	default y
668	help
669	  This option enables support for LEDs found on the LaCie 2Big
670	  and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
671	  controlled through a GPIO extension bus.
672
673config LEDS_TCA6507
674	tristate "LED Support for TCA6507 I2C chip"
675	depends on LEDS_CLASS && I2C
676	help
677	  This option enables support for LEDs connected to TC6507
678	  LED driver chips accessed via the I2C bus.
679	  Driver support brightness control and hardware-assisted blinking.
680
681config LEDS_TLC591XX
682	tristate "LED driver for TLC59108 and TLC59116 controllers"
683	depends on LEDS_CLASS && I2C
684	select REGMAP_I2C
685	help
686	  This option enables support for Texas Instruments TLC59108
687	  and TLC59116 LED controllers.
688
689config LEDS_MAX77650
690	tristate "LED support for Maxim MAX77650 PMIC"
691	depends on LEDS_CLASS && MFD_MAX77650
692	help
693	  LEDs driver for MAX77650 family of PMICs from Maxim Integrated.
694
695config LEDS_MAX8997
696	tristate "LED support for MAX8997 PMIC"
697	depends on LEDS_CLASS && MFD_MAX8997
698	help
699	  This option enables support for on-chip LED drivers on
700	  MAXIM MAX8997 PMIC.
701
702config LEDS_LM355x
703	tristate "LED support for LM3554 and LM3556 chips"
704	depends on LEDS_CLASS && I2C
705	select REGMAP_I2C
706	help
707	  This option enables support for LEDs connected to LM3554
708	  and LM3556. It includes Torch, Flash and Indicator functions.
709
710config LEDS_OT200
711	tristate "LED support for the Bachmann OT200"
712	depends on LEDS_CLASS && HAS_IOPORT && (X86_32 || COMPILE_TEST)
713	help
714	  This option enables support for the LEDs on the Bachmann OT200.
715	  Say Y to enable LEDs on the Bachmann OT200.
716
717config LEDS_MENF21BMC
718	tristate "LED support for the MEN 14F021P00 BMC"
719	depends on LEDS_CLASS && MFD_MENF21BMC
720	help
721	  Say Y here to include support for the MEN 14F021P00 BMC LEDs.
722
723	  This driver can also be built as a module. If so the module
724	  will be called leds-menf21bmc.
725
726config LEDS_IS31FL319X
727	tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
728	depends on LEDS_CLASS && I2C
729	select REGMAP_I2C
730	help
731	  This option enables support for LEDs connected to ISSI IS31FL319x
732	  fancy LED driver chips accessed via the I2C bus.
733	  Driver supports individual PWM brightness control for each channel.
734
735	  This driver can also be built as a module. If so the module will be
736	  called leds-is31fl319x.
737
738config LEDS_IS31FL32XX
739	tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
740	depends on LEDS_CLASS && I2C && OF
741	help
742	  Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
743	  LED controllers. They are I2C devices with multiple constant-current
744	  channels, each with independent 256-level PWM control.
745
746config LEDS_SC27XX_BLTC
747	tristate "LED support for the SC27xx breathing light controller"
748	depends on LEDS_CLASS && MFD_SC27XX_PMIC
749	depends on OF
750	help
751	  Say Y here to include support for the SC27xx breathing light controller
752	  LEDs.
753
754	  This driver can also be built as a module. If so the module will be
755	  called leds-sc27xx-bltc.
756
757comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
758
759config LEDS_BLINKM
760	tristate "LED support for the BlinkM I2C RGB LED"
761	depends on LEDS_CLASS
762	depends on I2C
763	help
764	  This option enables support for the BlinkM RGB LED connected
765	  through I2C. Say Y to enable support for the BlinkM LED.
766
767config LEDS_POWERNV
768	tristate "LED support for PowerNV Platform"
769	depends on LEDS_CLASS
770	depends on PPC_POWERNV
771	depends on OF
772	help
773	  This option enables support for the system LEDs present on
774	  PowerNV platforms. Say 'y' to enable this support in kernel.
775	  To compile this driver as a module, choose 'm' here: the module
776	  will be called leds-powernv.
777
778config LEDS_SYSCON
779	bool "LED support for LEDs on system controllers"
780	depends on LEDS_CLASS=y
781	depends on MFD_SYSCON
782	depends on OF
783	help
784	  This option enables support for the LEDs on syscon type
785	  devices. This will only work with device tree enabled
786	  devices.
787
788config LEDS_PM8058
789	tristate "LED Support for the Qualcomm PM8058 PMIC"
790	depends on MFD_PM8XXX
791	depends on LEDS_CLASS
792	help
793	  Choose this option if you want to use the LED drivers in
794	  the Qualcomm PM8058 PMIC.
795
796config LEDS_MLXCPLD
797	tristate "LED support for the Mellanox boards"
798	depends on X86 && DMI
799	depends on LEDS_CLASS
800	help
801	  This option enables support for the LEDs on the Mellanox
802	  boards. Say Y to enable these.
803
804config LEDS_MLXREG
805	tristate "LED support for the Mellanox switches management control"
806	depends on LEDS_CLASS
807	help
808	  This option enables support for the LEDs on the Mellanox Ethernet and
809	  InfiniBand switches. The driver can be activated by the platform device
810	  device add call. Say Y to enable these. To compile this driver as a
811	  module, choose 'M' here: the module will be called leds-mlxreg.
812
813config LEDS_USER
814	tristate "Userspace LED support"
815	depends on LEDS_CLASS
816	help
817	  This option enables support for userspace LEDs. Say 'y' to enable this
818	  support in kernel. To compile this driver as a module, choose 'm' here:
819	  the module will be called uleds.
820
821config LEDS_NIC78BX
822	tristate "LED support for NI PXI NIC78bx devices"
823	depends on LEDS_CLASS
824	depends on X86 && ACPI
825	help
826	  This option enables support for the User1 and User2 LEDs on NI
827	  PXI NIC78bx devices.
828
829	  To compile this driver as a module, choose M here: the module
830	  will be called leds-nic78bx.
831
832config LEDS_SPI_BYTE
833	tristate "LED support for SPI LED controller with a single byte"
834	depends on LEDS_CLASS
835	depends on SPI
836	depends on OF
837	help
838	  This option enables support for LED controller which use a single byte
839	  for controlling the brightness. Currently the following controller is
840	  supported: Ubiquiti airCube ISP microcontroller based LED controller.
841
842config LEDS_TI_LMU_COMMON
843	tristate "LED driver for TI LMU" if COMPILE_TEST
844	select REGMAP
845	help
846	  Say Y to enable the LED driver for TI LMU devices.
847	  This supports common features between the TI LM3532, LM3631, LM3632,
848	  LM3633, LM3695 and LM3697.
849
850config LEDS_LM3697
851	tristate "LED driver for LM3697"
852	depends on LEDS_CLASS && I2C && OF
853	select LEDS_TI_LMU_COMMON
854	help
855	  Say Y to enable the LM3697 LED driver for TI LMU devices.
856	  This supports the LED device LM3697.
857
858config LEDS_LM36274
859	tristate "LED driver for LM36274"
860	depends on LEDS_CLASS && MFD_TI_LMU
861	select LEDS_TI_LMU_COMMON
862	help
863	  Say Y to enable the LM36274 LED driver for TI LMU devices.
864	  This supports the LED device LM36274.
865
866config LEDS_TPS6105X
867	tristate "LED support for TI TPS6105X"
868	depends on LEDS_CLASS
869	depends on TPS6105X
870	default y if TPS6105X
871	help
872	  This driver supports TPS61050/TPS61052 LED chips.
873	  It is a single boost converter primarily for white LEDs and
874	  audio amplifiers.
875
876config LEDS_IP30
877	tristate "LED support for SGI Octane machines"
878	depends on LEDS_CLASS
879	depends on SGI_MFD_IOC3 || COMPILE_TEST
880	help
881	  This option enables support for the Red and White LEDs of
882	  SGI Octane machines.
883
884	  To compile this driver as a module, choose M here: the module
885	  will be called leds-ip30.
886
887config LEDS_ACER_A500
888	tristate "Power button LED support for Acer Iconia Tab A500"
889	depends on LEDS_CLASS && MFD_ACER_A500_EC
890	help
891	  This option enables support for the Power Button LED of
892	  Acer Iconia Tab A500.
893
894source "drivers/leds/blink/Kconfig"
895
896comment "Flash and Torch LED drivers"
897source "drivers/leds/flash/Kconfig"
898
899comment "RGB LED drivers"
900source "drivers/leds/rgb/Kconfig"
901
902comment "LED Triggers"
903source "drivers/leds/trigger/Kconfig"
904
905comment "Simple LED drivers"
906source "drivers/leds/simple/Kconfig"
907
908endif # NEW_LEDS
909