xref: /linux/drivers/leds/Kconfig (revision b546608ea2151eebfca515d362bc400645e02d4f)
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
9# This library does not depend on NEW_LEDS and must be independent so it can be
10# selected from other subsystems (specifically backlight).
11config LEDS_EXPRESSWIRE
12	bool
13	depends on GPIOLIB
14
15menuconfig NEW_LEDS
16	bool "LED Support"
17	help
18	  Say Y to enable Linux LED support.  This allows control of supported
19	  LEDs from both userspace and optionally, by kernel events (triggers).
20
21if NEW_LEDS
22
23config LEDS_CLASS
24	tristate "LED Class Support"
25	help
26	  This option enables the LED sysfs class in /sys/class/leds.  You'll
27	  need this to do anything useful with LEDs.  If unsure, say Y.
28
29config LEDS_CLASS_FLASH
30	tristate "LED Flash Class Support"
31	depends on LEDS_CLASS
32	help
33	  This option enables the flash LED sysfs class in /sys/class/leds.
34	  It wraps LED Class and adds flash LEDs specific sysfs attributes
35	  and kernel internal API to it. You'll need this to provide support
36	  for the flash related features of a LED device. It can be built
37	  as a module.
38
39config LEDS_CLASS_MULTICOLOR
40	tristate "LED Multicolor Class Support"
41	depends on LEDS_CLASS
42	help
43	  This option enables the multicolor LED sysfs class in /sys/class/leds.
44	  It wraps LED class and adds multicolor LED specific sysfs attributes
45	  and kernel internal API to it. You'll need this to provide support
46	  for multicolor LEDs that are grouped together. This class is not
47	  intended for single color LEDs. It can be built as a module.
48
49config LEDS_BRIGHTNESS_HW_CHANGED
50	bool "LED Class brightness_hw_changed attribute support"
51	depends on LEDS_CLASS
52	help
53	  This option enables support for the brightness_hw_changed attribute
54	  for LED sysfs class devices under /sys/class/leds.
55
56	  See Documentation/ABI/testing/sysfs-class-led for details.
57
58config LEDS_KUNIT_TEST
59	tristate "KUnit tests for LEDs"
60	depends on KUNIT && LEDS_CLASS
61	default KUNIT_ALL_TESTS
62	help
63	  Say Y here to enable KUnit testing for the LEDs framework.
64
65comment "LED drivers"
66
67config LEDS_88PM860X
68	tristate "LED Support for Marvell 88PM860x PMIC"
69	depends on LEDS_CLASS
70	depends on MFD_88PM860X
71	help
72	  This option enables support for on-chip LED drivers found on Marvell
73	  Semiconductor 88PM8606 PMIC.
74
75config LEDS_AN30259A
76	tristate "LED support for Panasonic AN30259A"
77	depends on LEDS_CLASS && I2C && OF
78	help
79	  This option enables support for the AN30259A 3-channel
80	  LED driver.
81
82	  To compile this driver as a module, choose M here: the module
83	  will be called leds-an30259a.
84
85config LEDS_APU
86	tristate "Front panel LED support for PC Engines APU/APU2/APU3 boards"
87	depends on LEDS_CLASS
88	depends on X86 && DMI
89	help
90	  This driver makes the PC Engines APU1 front panel LEDs
91	  accessible from userspace programs through the LED subsystem.
92
93	  If you're looking for APU2/3, use the pcengines-apu2 driver.
94	  (symbol CONFIG_PCENGINES_APU2)
95
96	  To compile this driver as a module, choose M here: the
97	  module will be called leds-apu.
98
99config LEDS_ARIEL
100	tristate "Dell Wyse 3020 status LED support"
101	depends on LEDS_CLASS
102	depends on (MACH_MMP3_DT && MFD_ENE_KB3930) || COMPILE_TEST
103	help
104	  This driver adds support for controlling the front panel status
105	  LEDs on Dell Wyse 3020 (Ariel) board via the KB3930 Embedded
106	  Controller.
107
108	  Say Y to if your machine is a Dell Wyse 3020 thin client.
109
110config LEDS_AW200XX
111	tristate "LED support for Awinic AW20036/AW20054/AW20072/AW20108"
112	depends on LEDS_CLASS
113	depends on I2C
114	help
115	  This option enables support for the Awinic AW200XX LED controllers.
116	  It is a matrix LED driver programmed via an I2C interface. Devices have
117	  a set of individually controlled LEDs and support 3 pattern controllers
118	  for auto breathing or group dimming control. Supported devices:
119	    - AW20036 (3x12) 36 LEDs
120	    - AW20054 (6x9)  54 LEDs
121	    - AW20072 (6x12) 72 LEDs
122	    - AW20108 (9x12) 108 LEDs
123
124	  To compile this driver as a module, choose M here: the module
125	  will be called leds-aw200xx.
126
127config LEDS_AW2013
128	tristate "LED support for Awinic AW2013"
129	depends on LEDS_CLASS && I2C && OF
130	select REGMAP_I2C
131	help
132	  This option enables support for the AW2013 3-channel
133	  LED driver.
134
135	  To compile this driver as a module, choose M here: the module
136	  will be called leds-aw2013.
137
138config LEDS_BCM6328
139	tristate "LED Support for Broadcom BCM6328"
140	depends on LEDS_CLASS
141	depends on HAS_IOMEM
142	depends on OF
143	help
144	  This option enables support for LEDs connected to the BCM6328
145	  LED HW controller accessed via MMIO registers.
146
147config LEDS_BCM6358
148	tristate "LED Support for Broadcom BCM6358"
149	depends on LEDS_CLASS
150	depends on HAS_IOMEM
151	depends on OF
152	help
153	  This option enables support for LEDs connected to the BCM6358
154	  LED HW controller accessed via MMIO registers.
155
156config LEDS_CHT_WCOVE
157	tristate "LED support for Intel Cherry Trail Whiskey Cove PMIC"
158	depends on LEDS_CLASS
159	depends on INTEL_SOC_PMIC_CHTWC
160	help
161	  This option enables support for charger and general purpose LEDs
162	  connected to the Intel Cherrytrail Whiskey Cove PMIC.
163
164	  To compile this driver as a module, choose M here: the module
165	  will be called leds-cht-wcove.
166
167config LEDS_CPCAP
168	tristate "LED Support for Motorola CPCAP"
169	depends on LEDS_CLASS
170	depends on MFD_CPCAP
171	depends on OF
172	help
173	  This option enables support for LEDs offered by Motorola's
174	  CPCAP PMIC.
175
176config LEDS_CR0014114
177	tristate "LED Support for Crane CR0014114"
178	depends on LEDS_CLASS
179	depends on SPI
180	depends on OF
181	help
182	  This option enables support for CR0014114 LED Board which
183	  is widely used in vending machines produced by
184	  Crane Merchandising Systems.
185
186	  To compile this driver as a module, choose M here: the module
187	  will be called leds-cr0014114.
188
189config LEDS_CROS_EC
190	tristate "LED Support for ChromeOS EC"
191	depends on MFD_CROS_EC_DEV
192	depends on LEDS_CLASS_MULTICOLOR
193	select LEDS_TRIGGERS
194	default MFD_CROS_EC_DEV
195	help
196	  This option enables support for LEDs managed by ChromeOS ECs.
197	  All LEDs exposed by the EC are supported in multicolor mode.
198	  A hardware trigger to switch back to the automatic behaviour is
199	  provided.
200
201	  To compile this driver as a module, choose M here: the module
202	  will be called leds-cros_ec.
203
204config LEDS_EL15203000
205	tristate "LED Support for Crane EL15203000"
206	depends on LEDS_CLASS
207	depends on SPI
208	depends on OF
209	help
210	  This option enables support for EL15203000 LED Board
211	  (aka RED LED board) which is widely used in coffee vending
212	  machines produced by Crane Merchandising Systems.
213
214	  To compile this driver as a module, choose M here: the module
215	  will be called leds-el15203000.
216
217config LEDS_EXPRESSWIRE
218	bool
219	depends on GPIOLIB
220
221config LEDS_TURRIS_OMNIA
222	tristate "LED support for CZ.NIC's Turris Omnia"
223	depends on LEDS_CLASS_MULTICOLOR
224	depends on I2C
225	depends on MACH_ARMADA_38X || COMPILE_TEST
226	depends on OF
227	depends on TURRIS_OMNIA_MCU
228	depends on TURRIS_OMNIA_MCU_GPIO
229	select LEDS_TRIGGERS
230	help
231	  This option enables basic support for the LEDs found on the front
232	  side of CZ.NIC's Turris Omnia router. There are 12 RGB LEDs on the
233	  front panel.
234
235config LEDS_LM3530
236	tristate "LCD Backlight driver for LM3530"
237	depends on LEDS_CLASS
238	depends on I2C
239	help
240	  This option enables support for the LCD backlight using
241	  LM3530 ambient light sensor chip. This ALS chip can be
242	  controlled manually or using PWM input or using ambient
243	  light automatically.
244
245config LEDS_LM3532
246	tristate "LCD Backlight driver for LM3532"
247	select REGMAP_I2C
248	depends on LEDS_CLASS
249	depends on I2C
250	help
251	  This option enables support for the LCD backlight using
252	  LM3532 ambient light sensor chip. This ALS chip can be
253	  controlled manually or using PWM input or using ambient
254	  light automatically.
255
256config LEDS_LM3533
257	tristate "LED support for LM3533"
258	depends on LEDS_CLASS
259	depends on MFD_LM3533
260	help
261	  This option enables support for the LEDs on National Semiconductor /
262	  TI LM3533 Lighting Power chips.
263
264	  The LEDs can be controlled directly, through PWM input, or by the
265	  ambient-light-sensor interface. The chip supports
266	  hardware-accelerated blinking with maximum on and off periods of 9.8
267	  and 77 seconds respectively.
268
269config LEDS_LM3642
270	tristate "LED support for LM3642 Chip"
271	depends on LEDS_CLASS && I2C
272	select REGMAP_I2C
273	help
274	  This option enables support for LEDs connected to LM3642.
275	  The LM3642 is a 4MHz fixed-frequency synchronous boost
276	  converter plus 1.5A constant current driver for a high-current
277	  white LED.
278
279config LEDS_LM3692X
280	tristate "LED support for LM3692x Chips"
281	depends on LEDS_CLASS && I2C && OF
282	select REGMAP_I2C
283	help
284	  This option enables support for the TI LM3692x family
285	  of white LED string drivers used for backlighting.
286
287config LEDS_LOCOMO
288	tristate "LED Support for Locomo device"
289	depends on LEDS_CLASS
290	depends on SHARP_LOCOMO
291	help
292	  This option enables support for the LEDs on Sharp Locomo.
293	  Zaurus models SL-5500 and SL-5600.
294
295config LEDS_MIKROTIK_RB532
296	tristate "LED Support for Mikrotik Routerboard 532"
297	depends on LEDS_CLASS
298	depends on MIKROTIK_RB532
299	help
300	  This option enables support for the so called "User LED" of
301	  Mikrotik's Routerboard 532.
302
303config LEDS_MT6323
304	tristate "LED Support for Mediatek MT6323 PMIC"
305	depends on LEDS_CLASS
306	depends on MFD_MT6397
307	help
308	  This option enables support for on-chip LED drivers found on
309	  Mediatek MT6323 PMIC.
310
311config LEDS_NET48XX
312	tristate "LED Support for Soekris net48xx series Error LED"
313	depends on LEDS_CLASS
314	depends on SCx200_GPIO
315	help
316	  This option enables support for the Soekris net4801 and net4826 error
317	  LED.
318
319config LEDS_WRAP
320	tristate "LED Support for the WRAP series LEDs"
321	depends on LEDS_CLASS
322	depends on SCx200_GPIO
323	help
324	  This option enables support for the PCEngines WRAP programmable LEDs.
325
326config LEDS_COBALT_QUBE
327	tristate "LED Support for the Cobalt Qube series front LED"
328	depends on LEDS_CLASS
329	depends on MIPS_COBALT || COMPILE_TEST
330	help
331	  This option enables support for the front LED on Cobalt Qube series
332
333config LEDS_COBALT_RAQ
334	bool "LED Support for the Cobalt Raq series"
335	depends on LEDS_CLASS=y && (MIPS_COBALT || COMPILE_TEST)
336	select LEDS_TRIGGERS
337	help
338	  This option enables support for the Cobalt Raq series LEDs.
339
340config LEDS_SUN50I_A100
341	tristate "LED support for Allwinner A100 RGB LED controller"
342	depends on LEDS_CLASS_MULTICOLOR
343	depends on ARCH_SUNXI || COMPILE_TEST
344	help
345	  This option enables support for the RGB LED controller found
346	  in some Allwinner sunxi SoCs, including A100, R329, and D1.
347	  It uses a one-wire interface to control up to 1024 LEDs.
348
349config LEDS_SUNFIRE
350	tristate "LED support for SunFire servers."
351	depends on LEDS_CLASS
352	depends on SPARC64
353	select LEDS_TRIGGERS
354	help
355	  This option enables support for the Left, Middle, and Right
356	  LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
357
358config LEDS_IPAQ_MICRO
359	tristate "LED Support for the Compaq iPAQ h3xxx"
360	depends on LEDS_CLASS
361	depends on MFD_IPAQ_MICRO
362	help
363	  Choose this option if you want to use the notification LED on
364	  Compaq/HP iPAQ h3100 and h3600.
365
366config LEDS_HP6XX
367	tristate "LED Support for the HP Jornada 6xx"
368	depends on LEDS_CLASS
369	depends on SH_HP6XX
370	help
371	  This option enables LED support for the handheld
372	  HP Jornada 620/660/680/690.
373
374config LEDS_PCA9532
375	tristate "LED driver for PCA9532 dimmer"
376	depends on LEDS_CLASS
377	depends on I2C && INPUT
378	help
379	  This option enables support for NXP pca9532
380	  LED controller. It is generally only useful
381	  as a platform driver
382
383config LEDS_PCA9532_GPIO
384	bool "Enable GPIO support for PCA9532"
385	depends on LEDS_PCA9532
386	depends on GPIOLIB
387	help
388	  Allow unused pins on PCA9532 to be used as gpio.
389
390	  To use a pin as gpio pca9532_type in pca9532_platform data needs to
391	  set to PCA9532_TYPE_GPIO.
392
393config LEDS_GPIO
394	tristate "LED Support for GPIO connected LEDs"
395	depends on LEDS_CLASS
396	depends on GPIOLIB || COMPILE_TEST
397	help
398	  This option enables support for the LEDs connected to GPIO
399	  outputs. To be useful the particular board must have LEDs
400	  and they must be connected to the GPIO lines.  The LEDs must be
401	  defined as platform devices and/or OpenFirmware platform devices.
402	  The code to use these bindings can be selected below.
403
404config LEDS_LP3944
405	tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
406	depends on LEDS_CLASS
407	depends on I2C
408	help
409	  This option enables support for LEDs connected to the National
410	  Semiconductor LP3944 Lighting Management Unit (LMU) also known as
411	  Fun Light Chip.
412
413	  To compile this driver as a module, choose M here: the
414	  module will be called leds-lp3944.
415
416config LEDS_LP3952
417	tristate "LED Support for TI LP3952 2 channel LED driver"
418	depends on LEDS_CLASS
419	depends on I2C
420	depends on GPIOLIB
421	select REGMAP_I2C
422	help
423	  This option enables support for LEDs connected to the Texas
424	  Instruments LP3952 LED driver.
425
426	  To compile this driver as a module, choose M here: the
427	  module will be called leds-lp3952.
428
429config LEDS_LP50XX
430	tristate "LED Support for TI LP5036/30/24/18/12/09 LED driver chip"
431	depends on LEDS_CLASS && REGMAP_I2C
432	depends on LEDS_CLASS_MULTICOLOR
433	help
434	  If you say yes here you get support for the Texas Instruments
435	  LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 LED driver.
436
437	  To compile this driver as a module, choose M here: the
438	  module will be called leds-lp50xx.
439
440config LEDS_LP55XX_COMMON
441	tristate "Common Driver for TI/National LP5521/5523/55231/5562/5569/8501"
442	depends on LEDS_CLASS
443	depends on LEDS_CLASS_MULTICOLOR
444	depends on OF
445	depends on I2C
446	select FW_LOADER
447	select FW_LOADER_USER_HELPER
448	help
449	  This option supports common operations for LP5521/5523/55231/5562/5569/
450	  8501 devices.
451
452config LEDS_LP5521
453	tristate "LED Support for N.S. LP5521 LED driver chip"
454	depends on LEDS_CLASS && I2C
455	depends on LEDS_LP55XX_COMMON
456	help
457	  If you say yes here you get support for the National Semiconductor
458	  LP5521 LED driver. It is 3 channel chip with programmable engines.
459	  Driver provides direct control via LED class and interface for
460	  programming the engines.
461
462config LEDS_LP5523
463	tristate "LED Support for TI/National LP5523/55231 LED driver chip"
464	depends on LEDS_CLASS && I2C
465	depends on LEDS_LP55XX_COMMON
466	help
467	  If you say yes here you get support for TI/National Semiconductor
468	  LP5523/55231 LED driver.
469	  It is 9 channel chip with programmable engines.
470	  Driver provides direct control via LED class and interface for
471	  programming the engines.
472
473config LEDS_LP5562
474	tristate "LED Support for TI LP5562 LED driver chip"
475	depends on LEDS_CLASS && I2C
476	depends on LEDS_LP55XX_COMMON
477	help
478	  If you say yes here you get support for TI LP5562 LED driver.
479	  It is 4 channels chip with programmable engines.
480	  Driver provides direct control via LED class and interface for
481	  programming the engines.
482
483config LEDS_LP5569
484	tristate "LED Support for TI LP5569 LED driver chip"
485	depends on LEDS_CLASS && I2C
486	depends on LEDS_LP55XX_COMMON
487	help
488	  If you say yes here you get support for TI LP5569 LED driver.
489	  It is 9 channels chip with programmable engines.
490	  Driver provides direct control via LED class and interface for
491	  programming the engines.
492
493config LEDS_LP8501
494	tristate "LED Support for TI LP8501 LED driver chip"
495	depends on LEDS_CLASS && I2C
496	depends on LEDS_LP55XX_COMMON
497	help
498	  If you say yes here you get support for TI LP8501 LED driver.
499	  It is 9 channel chip with programmable engines.
500	  Driver provides direct control via LED class and interface for
501	  programming the engines.
502	  It is similar as LP5523, but output power selection is available.
503	  And register layout and engine program schemes are different.
504
505config LEDS_LP8788
506	tristate "LED support for the TI LP8788 PMIC"
507	depends on LEDS_CLASS
508	depends on MFD_LP8788
509	help
510	  This option enables support for the Keyboard LEDs on the LP8788 PMIC.
511
512config LEDS_LP8860
513	tristate "LED support for the TI LP8860 4 channel LED driver"
514	depends on LEDS_CLASS && I2C && OF
515	select REGMAP_I2C
516	help
517	  If you say yes here you get support for the TI LP8860 4 channel
518	  LED driver.
519	  This option enables support for the display cluster LEDs
520	  on the LP8860 4 channel LED driver using the I2C communication
521	  bus.
522
523config LEDS_LP8864
524	tristate "LED support for the TI LP8864/LP8866 4/6 channel LED drivers"
525	depends on LEDS_CLASS && I2C && OF
526	select REGMAP_I2C
527	help
528	  If you say yes here you get support for the TI LP8864-Q1,
529	  LP8864S-Q1, LP8866-Q1, LP8866S-Q1 4/6 channel LED backlight
530	  drivers with I2C interface.
531
532	  To compile this driver as a module, choose M here: the
533	  module will be called leds-lp8864.
534
535config LEDS_CLEVO_MAIL
536	tristate "Mail LED on Clevo notebook"
537	depends on LEDS_CLASS && BROKEN
538	depends on X86 && SERIO_I8042 && DMI
539	help
540	  This driver makes the mail LED accessible from userspace
541	  programs through the LEDs subsystem. This LED has three
542	  known modes: off, blink at 0.5Hz and blink at 1Hz.
543
544	  The driver supports two kinds of interface: using ledtrig-timer
545	  or through /sys/class/leds/clevo::mail/brightness. As this LED
546	  cannot change its brightness it blinks instead. The brightness
547	  value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
548	  blink at 1Hz.
549
550	  This module can drive the mail LED for the following notebooks:
551
552	        Clevo D400P
553	        Clevo D410J
554	        Clevo D410V
555	        Clevo D400V/D470V (not tested, but might work)
556	        Clevo M540N
557	        Clevo M5x0N (not tested, but might work)
558	        Positivo Mobile (Clevo M5x0V)
559
560	  If your model is not listed here you can try the "nodetect"
561	  module parameter.
562
563	  To compile this driver as a module, choose M here: the
564	  module will be called leds-clevo-mail.
565
566config LEDS_PCA955X
567	tristate "LED Support for PCA955x I2C chips"
568	depends on LEDS_CLASS
569	depends on I2C
570	help
571	  This option enables support for LEDs connected to PCA955x
572	  LED driver chips accessed via the I2C bus.  Supported
573	  devices include PCA9550, PCA9551, PCA9552, and PCA9553.
574
575config LEDS_PCA955X_GPIO
576	bool "Enable GPIO support for PCA955X"
577	depends on LEDS_PCA955X
578	depends on GPIOLIB
579	help
580	  Allow unused pins on PCA955X to be used as gpio.
581
582	  To use a pin as gpio the pin type should be set to
583	  PCA955X_TYPE_GPIO in the device tree.
584
585
586config LEDS_PCA963X
587	tristate "LED support for PCA963x I2C chip"
588	depends on LEDS_CLASS
589	depends on I2C
590	help
591	  This option enables support for LEDs connected to the PCA963x
592	  LED driver chip accessed via the I2C bus. Supported
593	  devices include PCA9633 and PCA9634
594
595config LEDS_PCA995X
596	tristate "LED Support for PCA995x I2C chips"
597	depends on LEDS_CLASS
598	depends on I2C
599	help
600	  This option enables support for LEDs connected to PCA995x
601	  LED driver chips accessed via the I2C bus. Supported
602	  devices include PCA9955BTW, PCA9952TW and PCA9955TW.
603
604config LEDS_QNAP_MCU
605	tristate "LED Support for QNAP MCU controllers"
606	depends on LEDS_CLASS
607	depends on MFD_QNAP_MCU
608	help
609	  This option enables support for LEDs available on embedded
610	  controllers used in QNAP NAS devices.
611
612	  This driver can also be built as a module. If so, the module
613	  will be called qnap-mcu-leds.
614
615config LEDS_WM831X_STATUS
616	tristate "LED support for status LEDs on WM831x PMICs"
617	depends on LEDS_CLASS
618	depends on MFD_WM831X
619	help
620	  This option enables support for the status LEDs of the WM831x
621	  series of PMICs.
622
623config LEDS_WM8350
624	tristate "LED Support for WM8350 AudioPlus PMIC"
625	depends on LEDS_CLASS
626	depends on MFD_WM8350
627	help
628	  This option enables support for LEDs driven by the Wolfson
629	  Microelectronics WM8350 AudioPlus PMIC.
630
631config LEDS_DA903X
632	tristate "LED Support for DA9030/DA9034 PMIC"
633	depends on LEDS_CLASS
634	depends on PMIC_DA903X
635	help
636	  This option enables support for on-chip LED drivers found
637	  on Dialog Semiconductor DA9030/DA9034 PMICs.
638
639config LEDS_DA9052
640	tristate "Dialog DA9052/DA9053 LEDS"
641	depends on LEDS_CLASS
642	depends on PMIC_DA9052
643	help
644	  This option enables support for on-chip LED drivers found
645	  on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
646
647config LEDS_DAC124S085
648	tristate "LED Support for DAC124S085 SPI DAC"
649	depends on LEDS_CLASS
650	depends on SPI
651	help
652	  This option enables support for DAC124S085 SPI DAC from NatSemi,
653	  which can be used to control up to four LEDs.
654
655config LEDS_PWM
656	tristate "PWM driven LED Support"
657	depends on LEDS_CLASS
658	depends on PWM
659	help
660	  This option enables support for pwm driven LEDs
661
662config LEDS_REGULATOR
663	tristate "REGULATOR driven LED support"
664	depends on LEDS_CLASS
665	depends on REGULATOR
666	help
667	  This option enables support for regulator driven LEDs.
668
669config LEDS_BD2606MVV
670	tristate "LED driver for BD2606MVV"
671	depends on LEDS_CLASS
672	depends on I2C
673	select REGMAP_I2C
674	help
675	  This option enables support for BD2606MVV LED driver chips
676	  accessed via the I2C bus. It supports setting brightness, with
677	  the limitiation that there are groups of two channels sharing
678	  a brightness setting, but not the on/off setting.
679
680	  To compile this driver as a module, choose M here: the module will
681	  be called leds-bd2606mvv.
682
683config LEDS_BD2802
684	tristate "LED driver for BD2802 RGB LED"
685	depends on LEDS_CLASS
686	depends on I2C
687	help
688	  This option enables support for BD2802GU RGB LED driver chips
689	  accessed via the I2C bus.
690
691config LEDS_INTEL_SS4200
692	tristate "LED driver for Intel NAS SS4200 series"
693	depends on LEDS_CLASS
694	depends on PCI && DMI
695	depends on X86
696	help
697	  This option enables support for the Intel SS4200 series of
698	  Network Attached Storage servers. You may control the hard
699	  drive or power LEDs on the front panel. Using this driver
700	  can stop the front LED from blinking after startup.
701
702config LEDS_LT3593
703	tristate "LED driver for LT3593 controllers"
704	depends on LEDS_CLASS
705	depends on GPIOLIB || COMPILE_TEST
706	help
707	  This option enables support for LEDs driven by a Linear Technology
708	  LT3593 controller. This controller uses a special one-wire pulse
709	  coding protocol to set the brightness.
710
711config LEDS_ADP5520
712	tristate "LED Support for ADP5520/ADP5501 PMIC"
713	depends on LEDS_CLASS
714	depends on PMIC_ADP5520
715	help
716	  This option enables support for on-chip LED drivers found
717	  on Analog Devices ADP5520/ADP5501 PMICs.
718
719	  To compile this driver as a module, choose M here: the module will
720	  be called leds-adp5520.
721
722config LEDS_MAX5970
723	tristate "LED Support for Maxim 5970"
724	depends on LEDS_CLASS
725	depends on MFD_MAX5970
726	help
727	  This option enables support for the Maxim MAX5970 & MAX5978 smart
728	  switch indication LEDs via the I2C bus.
729
730	  To compile this driver as a module, choose M here: the module will
731	  be called leds-max5970.
732
733config LEDS_MC13783
734	tristate "LED Support for MC13XXX PMIC"
735	depends on LEDS_CLASS
736	depends on MFD_MC13XXX
737	help
738	  This option enables support for on-chip LED drivers found
739	  on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
740
741config LEDS_NS2
742	tristate "LED support for Network Space v2 GPIO LEDs"
743	depends on LEDS_CLASS
744	depends on MACH_KIRKWOOD || MACH_ARMADA_370 || COMPILE_TEST
745	default y if MACH_KIRKWOOD || MACH_ARMADA_370
746	help
747	  This option enables support for the dual-GPIO LEDs found on the
748	  following LaCie/Seagate boards:
749
750		Network Space v2 (and parents: Max, Mini)
751		Internet Space v2
752		d2 Network v2
753		n090401 (Seagate NAS 4-Bay)
754
755config LEDS_NETXBIG
756	tristate "LED support for Big Network series LEDs"
757	depends on LEDS_CLASS
758	depends on MACH_KIRKWOOD || COMPILE_TEST
759	depends on OF_GPIO
760	default MACH_KIRKWOOD
761	help
762	  This option enables support for LEDs found on the LaCie 2Big
763	  and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
764	  controlled through a GPIO extension bus.
765
766config LEDS_TCA6507
767	tristate "LED Support for TCA6507 I2C chip"
768	depends on LEDS_CLASS && I2C
769	help
770	  This option enables support for LEDs connected to TC6507
771	  LED driver chips accessed via the I2C bus.
772	  Driver support brightness control and hardware-assisted blinking.
773
774config LEDS_TLC591XX
775	tristate "LED driver for TLC59108 and TLC59116 controllers"
776	depends on LEDS_CLASS && I2C
777	select REGMAP_I2C
778	help
779	  This option enables support for Texas Instruments TLC59108
780	  and TLC59116 LED controllers.
781
782config LEDS_MAX77650
783	tristate "LED support for Maxim MAX77650 PMIC"
784	depends on LEDS_CLASS && MFD_MAX77650
785	help
786	  LEDs driver for MAX77650 family of PMICs from Maxim Integrated.
787
788config LEDS_MAX77705
789	tristate "LED support for Maxim MAX77705 PMIC"
790	depends on MFD_MAX77705
791	depends on LEDS_CLASS
792	depends on LEDS_CLASS_MULTICOLOR
793	help
794	  LED driver for MAX77705 PMIC from Maxim Integrated.
795
796config LEDS_MAX8997
797	tristate "LED support for MAX8997 PMIC"
798	depends on LEDS_CLASS && MFD_MAX8997
799	help
800	  This option enables support for on-chip LED drivers on
801	  MAXIM MAX8997 PMIC.
802
803config LEDS_LM355x
804	tristate "LED support for LM3554 and LM3556 chips"
805	depends on LEDS_CLASS && I2C
806	select REGMAP_I2C
807	help
808	  This option enables support for LEDs connected to LM3554
809	  and LM3556. It includes Torch, Flash and Indicator functions.
810
811config LEDS_OT200
812	tristate "LED support for the Bachmann OT200"
813	depends on LEDS_CLASS && HAS_IOPORT && (X86_32 || COMPILE_TEST)
814	help
815	  This option enables support for the LEDs on the Bachmann OT200.
816	  Say Y to enable LEDs on the Bachmann OT200.
817
818config LEDS_MENF21BMC
819	tristate "LED support for the MEN 14F021P00 BMC"
820	depends on LEDS_CLASS && MFD_MENF21BMC
821	help
822	  Say Y here to include support for the MEN 14F021P00 BMC LEDs.
823
824	  This driver can also be built as a module. If so the module
825	  will be called leds-menf21bmc.
826
827config LEDS_IS31FL319X
828	tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
829	depends on LEDS_CLASS && I2C
830	select REGMAP_I2C
831	help
832	  This option enables support for LEDs connected to ISSI IS31FL319x
833	  fancy LED driver chips accessed via the I2C bus.
834	  Driver supports individual PWM brightness control for each channel.
835
836	  This driver can also be built as a module. If so the module will be
837	  called leds-is31fl319x.
838
839config LEDS_IS31FL32XX
840	tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
841	depends on LEDS_CLASS && I2C && OF
842	help
843	  Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
844	  LED controllers. They are I2C devices with multiple constant-current
845	  channels, each with independent 256-level PWM control.
846
847config LEDS_SC27XX_BLTC
848	tristate "LED support for the SC27xx breathing light controller"
849	depends on LEDS_CLASS && MFD_SC27XX_PMIC
850	depends on OF
851	help
852	  Say Y here to include support for the SC27xx breathing light controller
853	  LEDs.
854
855	  This driver can also be built as a module. If so the module will be
856	  called leds-sc27xx-bltc.
857
858config LEDS_UPBOARD
859	tristate "LED support for the UP board"
860	depends on LEDS_CLASS && MFD_UPBOARD_FPGA
861	help
862	  This option enables support for the UP board LEDs.
863
864	  This driver can also be built as a module. If so the module will be
865	  called leds-upboard.
866
867comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
868
869config LEDS_BLINKM
870	tristate "LED support for the BlinkM I2C RGB LED"
871	depends on LEDS_CLASS
872	depends on I2C
873	help
874	  This option enables support for the BlinkM RGB LED connected
875	  through I2C. Say Y to enable support for the BlinkM LED.
876
877config LEDS_BLINKM_MULTICOLOR
878	bool "Enable multicolor support for BlinkM I2C RGB LED"
879	depends on LEDS_BLINKM
880	depends on LEDS_CLASS_MULTICOLOR=y || LEDS_CLASS_MULTICOLOR=LEDS_BLINKM
881	help
882	  This option enables multicolor sysfs class support for BlinkM LED and
883	  disables the older, separated sysfs interface
884
885config LEDS_POWERNV
886	tristate "LED support for PowerNV Platform"
887	depends on LEDS_CLASS
888	depends on PPC_POWERNV
889	depends on OF
890	help
891	  This option enables support for the system LEDs present on
892	  PowerNV platforms. Say 'y' to enable this support in kernel.
893	  To compile this driver as a module, choose 'm' here: the module
894	  will be called leds-powernv.
895
896config LEDS_SYSCON
897	bool "LED support for LEDs on system controllers"
898	depends on LEDS_CLASS=y
899	depends on MFD_SYSCON
900	depends on OF
901	help
902	  This option enables support for the LEDs on syscon type
903	  devices. This will only work with device tree enabled
904	  devices.
905
906config LEDS_PM8058
907	tristate "LED Support for the Qualcomm PM8058 PMIC"
908	depends on MFD_PM8XXX
909	depends on LEDS_CLASS
910	help
911	  Choose this option if you want to use the LED drivers in
912	  the Qualcomm PM8058 PMIC.
913
914config LEDS_MLXCPLD
915	tristate "LED support for the Mellanox boards"
916	depends on X86 && DMI
917	depends on LEDS_CLASS
918	help
919	  This option enables support for the LEDs on the Mellanox
920	  boards. Say Y to enable these.
921
922config LEDS_MLXREG
923	tristate "LED support for the Mellanox switches management control"
924	depends on LEDS_CLASS
925	help
926	  This option enables support for the LEDs on the Mellanox Ethernet and
927	  InfiniBand switches. The driver can be activated by the platform device
928	  device add call. Say Y to enable these. To compile this driver as a
929	  module, choose 'M' here: the module will be called leds-mlxreg.
930
931config LEDS_USER
932	tristate "Userspace LED support"
933	depends on LEDS_CLASS
934	help
935	  This option enables support for userspace LEDs. Say 'y' to enable this
936	  support in kernel. To compile this driver as a module, choose 'm' here:
937	  the module will be called uleds.
938
939config LEDS_NIC78BX
940	tristate "LED support for NI PXI NIC78bx devices"
941	depends on LEDS_CLASS
942	depends on HAS_IOPORT
943	depends on X86 || COMPILE_TEST
944	help
945	  This option enables support for the User1 and User2 LEDs on NI
946	  PXI NIC78bx devices.
947
948	  To compile this driver as a module, choose M here: the module
949	  will be called leds-nic78bx.
950
951config LEDS_SPI_BYTE
952	tristate "LED support for SPI LED controller with a single byte"
953	depends on LEDS_CLASS
954	depends on SPI
955	help
956	  This option enables support for LED controller which use a single byte
957	  for controlling the brightness. Currently the following controller is
958	  supported: Ubiquiti airCube ISP microcontroller based LED controller.
959
960config LEDS_TI_LMU_COMMON
961	tristate "LED driver for TI LMU" if COMPILE_TEST
962	select REGMAP
963	help
964	  Say Y to enable the LED driver for TI LMU devices.
965	  This supports common features between the TI LM3532, LM3631, LM3632,
966	  LM3633, LM3695 and LM3697.
967
968config LEDS_LM3697
969	tristate "LED driver for LM3697"
970	depends on LEDS_CLASS && I2C && OF
971	select LEDS_TI_LMU_COMMON
972	help
973	  Say Y to enable the LM3697 LED driver for TI LMU devices.
974	  This supports the LED device LM3697.
975
976config LEDS_LM36274
977	tristate "LED driver for LM36274"
978	depends on LEDS_CLASS && MFD_TI_LMU
979	select LEDS_TI_LMU_COMMON
980	help
981	  Say Y to enable the LM36274 LED driver for TI LMU devices.
982	  This supports the LED device LM36274.
983
984config LEDS_ST1202
985	tristate "LED Support for STMicroelectronics LED1202 I2C chips"
986	depends on LEDS_CLASS
987	depends on I2C
988	depends on OF
989	select LEDS_TRIGGERS
990	select LEDS_TRIGGER_PATTERN
991	help
992	  Say Y to enable support for LEDs connected to LED1202
993	  LED driver chips accessed via the I2C bus.
994
995config LEDS_TPS6105X
996	tristate "LED support for TI TPS6105X"
997	depends on LEDS_CLASS
998	depends on TPS6105X
999	default y if TPS6105X
1000	help
1001	  This driver supports TPS61050/TPS61052 LED chips.
1002	  It is a single boost converter primarily for white LEDs and
1003	  audio amplifiers.
1004
1005config LEDS_IP30
1006	tristate "LED support for SGI Octane machines"
1007	depends on LEDS_CLASS
1008	depends on SGI_MFD_IOC3 || COMPILE_TEST
1009	help
1010	  This option enables support for the Red and White LEDs of
1011	  SGI Octane machines.
1012
1013	  To compile this driver as a module, choose M here: the module
1014	  will be called leds-ip30.
1015
1016config LEDS_ACER_A500
1017	tristate "Power button LED support for Acer Iconia Tab A500"
1018	depends on LEDS_CLASS && MFD_ACER_A500_EC
1019	help
1020	  This option enables support for the Power Button LED of
1021	  Acer Iconia Tab A500.
1022
1023source "drivers/leds/blink/Kconfig"
1024
1025comment "Flash and Torch LED drivers"
1026source "drivers/leds/flash/Kconfig"
1027
1028comment "RGB LED drivers"
1029source "drivers/leds/rgb/Kconfig"
1030
1031comment "LED Triggers"
1032source "drivers/leds/trigger/Kconfig"
1033
1034comment "Simatic LED drivers"
1035source "drivers/leds/simatic/Kconfig"
1036
1037endif # NEW_LEDS
1038