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