Linux Audio

Check our new training course

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