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