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