Linux Audio

Check our new training course

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