xref: /openbmc/linux/drivers/leds/Kconfig (revision dc6a81c3)
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 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_AS3645A
87	tristate "AS3645A and LM3555 LED flash controllers support"
88	depends on I2C && LEDS_CLASS_FLASH
89	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
90	help
91	  Enable LED flash class support for AS3645A LED flash
92	  controller. V4L2 flash API is provided as well if
93	  CONFIG_V4L2_FLASH_API is enabled.
94
95config LEDS_BCM6328
96	tristate "LED Support for Broadcom BCM6328"
97	depends on LEDS_CLASS
98	depends on HAS_IOMEM
99	depends on OF
100	help
101	  This option enables support for LEDs connected to the BCM6328
102	  LED HW controller accessed via MMIO registers.
103
104config LEDS_BCM6358
105	tristate "LED Support for Broadcom BCM6358"
106	depends on LEDS_CLASS
107	depends on HAS_IOMEM
108	depends on OF
109	help
110	  This option enables support for LEDs connected to the BCM6358
111	  LED HW controller accessed via MMIO registers.
112
113config LEDS_CPCAP
114	tristate "LED Support for Motorola CPCAP"
115	depends on LEDS_CLASS
116	depends on MFD_CPCAP
117	depends on OF
118	help
119	  This option enables support for LEDs offered by Motorola's
120	  CPCAP PMIC.
121
122config LEDS_CR0014114
123	tristate "LED Support for Crane CR0014114"
124	depends on LEDS_CLASS
125	depends on SPI
126	depends on OF
127	help
128	  This option enables support for CR0014114 LED Board which
129	  is widely used in vending machines produced by
130	  Crane Merchandising Systems.
131
132	  To compile this driver as a module, choose M here: the module
133	  will be called leds-cr0014114.
134
135config LEDS_EL15203000
136	tristate "LED Support for Crane EL15203000"
137	depends on LEDS_CLASS
138	depends on SPI
139	depends on OF
140	help
141	  This option enables support for EL15203000 LED Board
142	  (aka RED LED board) which is widely used in coffee vending
143	  machines produced by Crane Merchandising Systems.
144
145	  To compile this driver as a module, choose M here: the module
146	  will be called leds-el15203000.
147
148config LEDS_LM3530
149	tristate "LCD Backlight driver for LM3530"
150	depends on LEDS_CLASS
151	depends on I2C
152	help
153	  This option enables support for the LCD backlight using
154	  LM3530 ambient light sensor chip. This ALS chip can be
155	  controlled manually or using PWM input or using ambient
156	  light automatically.
157
158config LEDS_LM3532
159	tristate "LCD Backlight driver for LM3532"
160	depends on LEDS_CLASS
161	depends on I2C
162	help
163	  This option enables support for the LCD backlight using
164	  LM3532 ambient light sensor chip. This ALS chip can be
165	  controlled manually or using PWM input or using ambient
166	  light automatically.
167
168config LEDS_LM3533
169	tristate "LED support for LM3533"
170	depends on LEDS_CLASS
171	depends on MFD_LM3533
172	help
173	  This option enables support for the LEDs on National Semiconductor /
174	  TI LM3533 Lighting Power chips.
175
176	  The LEDs can be controlled directly, through PWM input, or by the
177	  ambient-light-sensor interface. The chip supports
178	  hardware-accelerated blinking with maximum on and off periods of 9.8
179	  and 77 seconds respectively.
180
181config LEDS_LM3642
182	tristate "LED support for LM3642 Chip"
183	depends on LEDS_CLASS && I2C
184	select REGMAP_I2C
185	help
186	  This option enables support for LEDs connected to LM3642.
187	  The LM3642 is a 4MHz fixed-frequency synchronous boost
188	  converter plus 1.5A constant current driver for a high-current
189	  white LED.
190
191config LEDS_LM3692X
192	tristate "LED support for LM3692x Chips"
193	depends on LEDS_CLASS && I2C && OF
194	select REGMAP_I2C
195	help
196	  This option enables support for the TI LM3692x family
197	  of white LED string drivers used for backlighting.
198
199config LEDS_LM3601X
200	tristate "LED support for LM3601x Chips"
201	depends on LEDS_CLASS && I2C
202	depends on LEDS_CLASS_FLASH
203	select REGMAP_I2C
204	help
205	  This option enables support for the TI LM3601x family
206	  of flash, torch and indicator classes.
207
208config LEDS_LOCOMO
209	tristate "LED Support for Locomo device"
210	depends on LEDS_CLASS
211	depends on SHARP_LOCOMO
212	help
213	  This option enables support for the LEDs on Sharp Locomo.
214	  Zaurus models SL-5500 and SL-5600.
215
216config LEDS_MIKROTIK_RB532
217	tristate "LED Support for Mikrotik Routerboard 532"
218	depends on LEDS_CLASS
219	depends on MIKROTIK_RB532
220	help
221	  This option enables support for the so called "User LED" of
222	  Mikrotik's Routerboard 532.
223
224config LEDS_MT6323
225	tristate "LED Support for Mediatek MT6323 PMIC"
226	depends on LEDS_CLASS
227	depends on MFD_MT6397
228	help
229	  This option enables support for on-chip LED drivers found on
230	  Mediatek MT6323 PMIC.
231
232config LEDS_S3C24XX
233	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
234	depends on LEDS_CLASS
235	depends on ARCH_S3C24XX
236	help
237	  This option enables support for LEDs connected to GPIO lines
238	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
239
240config LEDS_NET48XX
241	tristate "LED Support for Soekris net48xx series Error LED"
242	depends on LEDS_CLASS
243	depends on SCx200_GPIO
244	help
245	  This option enables support for the Soekris net4801 and net4826 error
246	  LED.
247
248config LEDS_FSG
249	tristate "LED Support for the Freecom FSG-3"
250	depends on LEDS_CLASS
251	depends on MACH_FSG
252	help
253	  This option enables support for the LEDs on the Freecom FSG-3.
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
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
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_LP55XX_COMMON
357	tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501"
358	depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501
359	select FW_LOADER
360	select FW_LOADER_USER_HELPER
361	help
362	  This option supports common operations for LP5521/5523/55231/5562/8501
363	  devices.
364
365config LEDS_LP5521
366	tristate "LED Support for N.S. LP5521 LED driver chip"
367	depends on LEDS_CLASS && I2C
368	select LEDS_LP55XX_COMMON
369	help
370	  If you say yes here you get support for the National Semiconductor
371	  LP5521 LED driver. It is 3 channel chip with programmable engines.
372	  Driver provides direct control via LED class and interface for
373	  programming the engines.
374
375config LEDS_LP5523
376	tristate "LED Support for TI/National LP5523/55231 LED driver chip"
377	depends on LEDS_CLASS && I2C
378	select LEDS_LP55XX_COMMON
379	help
380	  If you say yes here you get support for TI/National Semiconductor
381	  LP5523/55231 LED driver.
382	  It is 9 channel chip with programmable engines.
383	  Driver provides direct control via LED class and interface for
384	  programming the engines.
385
386config LEDS_LP5562
387	tristate "LED Support for TI LP5562 LED driver chip"
388	depends on LEDS_CLASS && I2C
389	select LEDS_LP55XX_COMMON
390	help
391	  If you say yes here you get support for TI LP5562 LED driver.
392	  It is 4 channels chip with programmable engines.
393	  Driver provides direct control via LED class and interface for
394	  programming the engines.
395
396config LEDS_LP8501
397	tristate "LED Support for TI LP8501 LED driver chip"
398	depends on LEDS_CLASS && I2C
399	select LEDS_LP55XX_COMMON
400	help
401	  If you say yes here you get support for TI LP8501 LED driver.
402	  It is 9 channel chip with programmable engines.
403	  Driver provides direct control via LED class and interface for
404	  programming the engines.
405	  It is similar as LP5523, but output power selection is available.
406	  And register layout and engine program schemes are different.
407
408config LEDS_LP8788
409	tristate "LED support for the TI LP8788 PMIC"
410	depends on LEDS_CLASS
411	depends on MFD_LP8788
412	help
413	  This option enables support for the Keyboard LEDs on the LP8788 PMIC.
414
415config LEDS_LP8860
416	tristate "LED support for the TI LP8860 4 channel LED driver"
417	depends on LEDS_CLASS && I2C && OF
418	select REGMAP_I2C
419	help
420	  If you say yes here you get support for the TI LP8860 4 channel
421	  LED driver.
422	  This option enables support for the display cluster LEDs
423	  on the LP8860 4 channel LED driver using the I2C communication
424	  bus.
425
426config LEDS_CLEVO_MAIL
427	tristate "Mail LED on Clevo notebook"
428	depends on LEDS_CLASS
429	depends on X86 && SERIO_I8042 && DMI
430	help
431	  This driver makes the mail LED accessible from userspace
432	  programs through the leds subsystem. This LED have three
433	  known mode: off, blink at 0.5Hz and blink at 1Hz.
434
435	  The driver supports two kinds of interface: using ledtrig-timer
436	  or through /sys/class/leds/clevo::mail/brightness. As this LED
437	  cannot change it's brightness it blinks instead. The brightness
438	  value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
439	  blink at 1Hz.
440
441	  This module can drive the mail LED for the following notebooks:
442
443	        Clevo D400P
444	        Clevo D410J
445	        Clevo D410V
446	        Clevo D400V/D470V (not tested, but might work)
447	        Clevo M540N
448	        Clevo M5x0N (not tested, but might work)
449	        Positivo Mobile (Clevo M5x0V)
450
451	  If your model is not listed here you can try the "nodetect"
452	  module parameter.
453
454	  To compile this driver as a module, choose M here: the
455	  module will be called leds-clevo-mail.
456
457config LEDS_PCA955X
458	tristate "LED Support for PCA955x I2C chips"
459	depends on LEDS_CLASS
460	depends on I2C
461	help
462	  This option enables support for LEDs connected to PCA955x
463	  LED driver chips accessed via the I2C bus.  Supported
464	  devices include PCA9550, PCA9551, PCA9552, and PCA9553.
465
466config LEDS_PCA955X_GPIO
467	bool "Enable GPIO support for PCA955X"
468	depends on LEDS_PCA955X
469	depends on GPIOLIB
470	help
471	  Allow unused pins on PCA955X to be used as gpio.
472
473	  To use a pin as gpio the pin type should be set to
474	  PCA955X_TYPE_GPIO in the device tree.
475
476
477config LEDS_PCA963X
478	tristate "LED support for PCA963x I2C chip"
479	depends on LEDS_CLASS
480	depends on I2C
481	help
482	  This option enables support for LEDs connected to the PCA963x
483	  LED driver chip accessed via the I2C bus. Supported
484	  devices include PCA9633 and PCA9634
485
486config LEDS_WM831X_STATUS
487	tristate "LED support for status LEDs on WM831x PMICs"
488	depends on LEDS_CLASS
489	depends on MFD_WM831X
490	help
491	  This option enables support for the status LEDs of the WM831x
492	  series of PMICs.
493
494config LEDS_WM8350
495	tristate "LED Support for WM8350 AudioPlus PMIC"
496	depends on LEDS_CLASS
497	depends on MFD_WM8350
498	help
499	  This option enables support for LEDs driven by the Wolfson
500	  Microelectronics WM8350 AudioPlus PMIC.
501
502config LEDS_DA903X
503	tristate "LED Support for DA9030/DA9034 PMIC"
504	depends on LEDS_CLASS
505	depends on PMIC_DA903X
506	help
507	  This option enables support for on-chip LED drivers found
508	  on Dialog Semiconductor DA9030/DA9034 PMICs.
509
510config LEDS_DA9052
511	tristate "Dialog DA9052/DA9053 LEDS"
512	depends on LEDS_CLASS
513	depends on PMIC_DA9052
514	help
515	  This option enables support for on-chip LED drivers found
516	  on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
517
518config LEDS_DAC124S085
519	tristate "LED Support for DAC124S085 SPI DAC"
520	depends on LEDS_CLASS
521	depends on SPI
522	help
523	  This option enables support for DAC124S085 SPI DAC from NatSemi,
524	  which can be used to control up to four LEDs.
525
526config LEDS_PWM
527	tristate "PWM driven LED Support"
528	depends on LEDS_CLASS
529	depends on PWM
530	help
531	  This option enables support for pwm driven LEDs
532
533config LEDS_REGULATOR
534	tristate "REGULATOR driven LED support"
535	depends on LEDS_CLASS
536	depends on REGULATOR
537	help
538	  This option enables support for regulator driven LEDs.
539
540config LEDS_BD2802
541	tristate "LED driver for BD2802 RGB LED"
542	depends on LEDS_CLASS
543	depends on I2C
544	help
545	  This option enables support for BD2802GU RGB LED driver chips
546	  accessed via the I2C bus.
547
548config LEDS_INTEL_SS4200
549	tristate "LED driver for Intel NAS SS4200 series"
550	depends on LEDS_CLASS
551	depends on PCI && DMI
552	depends on X86
553	help
554	  This option enables support for the Intel SS4200 series of
555	  Network Attached Storage servers. You may control the hard
556	  drive or power LEDs on the front panel. Using this driver
557	  can stop the front LED from blinking after startup.
558
559config LEDS_LT3593
560	tristate "LED driver for LT3593 controllers"
561	depends on LEDS_CLASS
562	depends on GPIOLIB || COMPILE_TEST
563	depends on OF
564	help
565	  This option enables support for LEDs driven by a Linear Technology
566	  LT3593 controller. This controller uses a special one-wire pulse
567	  coding protocol to set the brightness.
568
569config LEDS_ADP5520
570	tristate "LED Support for ADP5520/ADP5501 PMIC"
571	depends on LEDS_CLASS
572	depends on PMIC_ADP5520
573	help
574	  This option enables support for on-chip LED drivers found
575	  on Analog Devices ADP5520/ADP5501 PMICs.
576
577	  To compile this driver as a module, choose M here: the module will
578	  be called leds-adp5520.
579
580config LEDS_MC13783
581	tristate "LED Support for MC13XXX PMIC"
582	depends on LEDS_CLASS
583	depends on MFD_MC13XXX
584	help
585	  This option enables support for on-chip LED drivers found
586	  on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
587
588config LEDS_NS2
589	tristate "LED support for Network Space v2 GPIO LEDs"
590	depends on LEDS_CLASS
591	depends on MACH_KIRKWOOD || MACH_ARMADA_370
592	default y
593	help
594	  This option enables support for the dual-GPIO LEDs found on the
595	  following LaCie/Seagate boards:
596
597		Network Space v2 (and parents: Max, Mini)
598		Internet Space v2
599		d2 Network v2
600		n090401 (Seagate NAS 4-Bay)
601
602config LEDS_NETXBIG
603	tristate "LED support for Big Network series LEDs"
604	depends on LEDS_CLASS
605	depends on MACH_KIRKWOOD
606	depends on OF_GPIO
607	default y
608	help
609	  This option enables support for LEDs found on the LaCie 2Big
610	  and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
611	  controlled through a GPIO extension bus.
612
613config LEDS_ASIC3
614	bool "LED support for the HTC ASIC3"
615	depends on LEDS_CLASS=y
616	depends on MFD_ASIC3
617	default y
618	help
619	  This option enables support for the LEDs on the HTC ASIC3. The HTC
620	  ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
621	  cannot be used. This driver supports hardware blinking with an on+off
622	  period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
623
624config LEDS_TCA6507
625	tristate "LED Support for TCA6507 I2C chip"
626	depends on LEDS_CLASS && I2C
627	help
628	  This option enables support for LEDs connected to TC6507
629	  LED driver chips accessed via the I2C bus.
630	  Driver support brightness control and hardware-assisted blinking.
631
632config LEDS_TLC591XX
633	tristate "LED driver for TLC59108 and TLC59116 controllers"
634	depends on LEDS_CLASS && I2C
635	select REGMAP_I2C
636	help
637	  This option enables support for Texas Instruments TLC59108
638	  and TLC59116 LED controllers.
639
640config LEDS_MAX77650
641	tristate "LED support for Maxim MAX77650 PMIC"
642	depends on LEDS_CLASS && MFD_MAX77650
643	help
644	  LEDs driver for MAX77650 family of PMICs from Maxim Integrated.
645
646config LEDS_MAX77693
647	tristate "LED support for MAX77693 Flash"
648	depends on LEDS_CLASS_FLASH
649	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
650	depends on MFD_MAX77693
651	depends on OF
652	help
653	  This option enables support for the flash part of the MAX77693
654	  multifunction device. It has build in control for two leds in flash
655	  and torch mode.
656
657config LEDS_MAX8997
658	tristate "LED support for MAX8997 PMIC"
659	depends on LEDS_CLASS && MFD_MAX8997
660	help
661	  This option enables support for on-chip LED drivers on
662	  MAXIM MAX8997 PMIC.
663
664config LEDS_LM355x
665	tristate "LED support for LM3554 and LM3556 chips"
666	depends on LEDS_CLASS && I2C
667	select REGMAP_I2C
668	help
669	  This option enables support for LEDs connected to LM3554
670	  and LM3556. It includes Torch, Flash and Indicator functions.
671
672config LEDS_OT200
673	tristate "LED support for the Bachmann OT200"
674	depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
675	help
676	  This option enables support for the LEDs on the Bachmann OT200.
677	  Say Y to enable LEDs on the Bachmann OT200.
678
679config LEDS_MENF21BMC
680	tristate "LED support for the MEN 14F021P00 BMC"
681	depends on LEDS_CLASS && MFD_MENF21BMC
682	help
683	  Say Y here to include support for the MEN 14F021P00 BMC LEDs.
684
685	  This driver can also be built as a module. If so the module
686	  will be called leds-menf21bmc.
687
688config LEDS_KTD2692
689	tristate "LED support for KTD2692 flash LED controller"
690	depends on LEDS_CLASS_FLASH && OF
691	depends on GPIOLIB || COMPILE_TEST
692	help
693	  This option enables support for KTD2692 LED flash connected
694	  through ExpressWire interface.
695
696	  Say Y to enable this driver.
697
698config LEDS_IS31FL319X
699	tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
700	depends on LEDS_CLASS && I2C && OF
701	select REGMAP_I2C
702	help
703	  This option enables support for LEDs connected to ISSI IS31FL319x
704	  fancy LED driver chips accessed via the I2C bus.
705	  Driver supports individual PWM brightness control for each channel.
706
707	  This driver can also be built as a module. If so the module will be
708	  called leds-is31fl319x.
709
710config LEDS_IS31FL32XX
711	tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
712	depends on LEDS_CLASS && I2C && OF
713	help
714	  Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
715	  LED controllers. They are I2C devices with multiple constant-current
716	  channels, each with independent 256-level PWM control.
717
718config LEDS_SC27XX_BLTC
719	tristate "LED support for the SC27xx breathing light controller"
720	depends on LEDS_CLASS && MFD_SC27XX_PMIC
721	depends on OF
722	help
723	  Say Y here to include support for the SC27xx breathing light controller
724	  LEDs.
725
726	  This driver can also be built as a module. If so the module will be
727	  called leds-sc27xx-bltc.
728
729comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
730
731config LEDS_BLINKM
732	tristate "LED support for the BlinkM I2C RGB LED"
733	depends on LEDS_CLASS
734	depends on I2C
735	help
736	  This option enables support for the BlinkM RGB LED connected
737	  through I2C. Say Y to enable support for the BlinkM LED.
738
739config LEDS_POWERNV
740	tristate "LED support for PowerNV Platform"
741	depends on LEDS_CLASS
742	depends on PPC_POWERNV
743	depends on OF
744	help
745	  This option enables support for the system LEDs present on
746	  PowerNV platforms. Say 'y' to enable this support in kernel.
747	  To compile this driver as a module, choose 'm' here: the module
748	  will be called leds-powernv.
749
750config LEDS_SYSCON
751	bool "LED support for LEDs on system controllers"
752	depends on LEDS_CLASS=y
753	depends on MFD_SYSCON
754	depends on OF
755	help
756	  This option enables support for the LEDs on syscon type
757	  devices. This will only work with device tree enabled
758	  devices.
759
760config LEDS_PM8058
761	tristate "LED Support for the Qualcomm PM8058 PMIC"
762	depends on MFD_PM8XXX
763	depends on LEDS_CLASS
764	help
765	  Choose this option if you want to use the LED drivers in
766	  the Qualcomm PM8058 PMIC.
767
768config LEDS_MLXCPLD
769	tristate "LED support for the Mellanox boards"
770	depends on X86 && DMI
771	depends on LEDS_CLASS
772	help
773	  This option enables support for the LEDs on the Mellanox
774	  boards. Say Y to enable these.
775
776config LEDS_MLXREG
777	tristate "LED support for the Mellanox switches management control"
778	depends on LEDS_CLASS
779	help
780	  This option enables support for the LEDs on the Mellanox Ethernet and
781	  InfiniBand switches. The driver can be activated by the platform device
782	  device add call. Say Y to enable these. To compile this driver as a
783	  module, choose 'M' here: the module will be called leds-mlxreg.
784
785config LEDS_USER
786	tristate "Userspace LED support"
787	depends on LEDS_CLASS
788	help
789	  This option enables support for userspace LEDs. Say 'y' to enable this
790	  support in kernel. To compile this driver as a module, choose 'm' here:
791	  the module will be called uleds.
792
793config LEDS_NIC78BX
794	tristate "LED support for NI PXI NIC78bx devices"
795	depends on LEDS_CLASS
796	depends on X86 && ACPI
797	help
798	  This option enables support for the User1 and User2 LEDs on NI
799	  PXI NIC78bx devices.
800
801	  To compile this driver as a module, choose M here: the module
802	  will be called leds-nic78bx.
803
804config LEDS_SPI_BYTE
805	tristate "LED support for SPI LED controller with a single byte"
806	depends on LEDS_CLASS
807	depends on SPI
808	depends on OF
809	help
810	  This option enables support for LED controller which use a single byte
811	  for controlling the brightness. Currently the following controller is
812	  supported: Ubiquiti airCube ISP microcontroller based LED controller.
813
814config LEDS_TI_LMU_COMMON
815	tristate "LED driver for TI LMU"
816	depends on LEDS_CLASS
817	depends on REGMAP
818	help
819	  Say Y to enable the LED driver for TI LMU devices.
820	  This supports common features between the TI LM3532, LM3631, LM3632,
821	  LM3633, LM3695 and LM3697.
822
823config LEDS_LM3697
824	tristate "LED driver for LM3697"
825	depends on LEDS_TI_LMU_COMMON
826	depends on I2C && OF
827	help
828	  Say Y to enable the LM3697 LED driver for TI LMU devices.
829	  This supports the LED device LM3697.
830
831config LEDS_LM36274
832	tristate "LED driver for LM36274"
833	depends on LEDS_TI_LMU_COMMON
834	depends on MFD_TI_LMU
835	help
836	  Say Y to enable the LM36274 LED driver for TI LMU devices.
837	  This supports the LED device LM36274.
838
839config LEDS_TPS6105X
840	tristate "LED support for TI TPS6105X"
841	depends on LEDS_CLASS
842	depends on TPS6105X
843	default y if TPS6105X
844	help
845	  This driver supports TPS61050/TPS61052 LED chips.
846	  It is a single boost converter primarily for white LEDs and
847	  audio amplifiers.
848
849comment "LED Triggers"
850source "drivers/leds/trigger/Kconfig"
851
852endif # NEW_LEDS
853