xref: /linux/drivers/leds/Kconfig (revision e14fa82439d33cef67eaafc1a48960bbfa610c8e)
166242f7eSJan Engelhardtmenuconfig NEW_LEDS
2c72a1d60SRichard Purdie	bool "LED Support"
3c72a1d60SRichard Purdie	help
4a8d2e7d9SRichard Purdie	  Say Y to enable Linux LED support.  This allows control of supported
5a8d2e7d9SRichard Purdie	  LEDs from both userspace and optionally, by kernel events (triggers).
6a8d2e7d9SRichard Purdie
7a8d2e7d9SRichard Purdie	  This is not related to standard keyboard LEDs which are controlled
8a8d2e7d9SRichard Purdie	  via the input system.
9c72a1d60SRichard Purdie
1066242f7eSJan Engelhardtif NEW_LEDS
1166242f7eSJan Engelhardt
12c72a1d60SRichard Purdieconfig LEDS_CLASS
13c72a1d60SRichard Purdie	tristate "LED Class Support"
14c72a1d60SRichard Purdie	help
15c72a1d60SRichard Purdie	  This option enables the led sysfs class in /sys/class/leds.  You'll
16c72a1d60SRichard Purdie	  need this to do anything useful with LEDs.  If unsure, say N.
17c72a1d60SRichard Purdie
1824f51e81SBen Dookscomment "LED drivers"
19c3bc9956SRichard Purdie
20de5c9edeSDavid Brownellconfig LEDS_ATMEL_PWM
21de5c9edeSDavid Brownell	tristate "LED Support using Atmel PWM outputs"
22de5c9edeSDavid Brownell	depends on LEDS_CLASS && ATMEL_PWM
23de5c9edeSDavid Brownell	help
24de5c9edeSDavid Brownell	  This option enables support for LEDs driven using outputs
25de5c9edeSDavid Brownell	  of the dedicated PWM controller found on newer Atmel SOCs.
26de5c9edeSDavid Brownell
273179108dSRichard Purdieconfig LEDS_CORGI
283179108dSRichard Purdie	tristate "LED Support for the Sharp SL-C7x0 series"
29bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARP_C7xx
303179108dSRichard Purdie	help
313179108dSRichard Purdie	  This option enables support for the LEDs on Sharp Zaurus
323179108dSRichard Purdie	  SL-C7x0 series (C700, C750, C760, C860).
333179108dSRichard Purdie
344d3cb354SRichard Purdieconfig LEDS_LOCOMO
354d3cb354SRichard Purdie	tristate "LED Support for Locomo device"
36bef1f402SRobert P. J. Day	depends on LEDS_CLASS && SHARP_LOCOMO
374d3cb354SRichard Purdie	help
384d3cb354SRichard Purdie	  This option enables support for the LEDs on Sharp Locomo.
394d3cb354SRichard Purdie	  Zaurus models SL-5500 and SL-5600.
404d3cb354SRichard Purdie
413179108dSRichard Purdieconfig LEDS_SPITZ
423179108dSRichard Purdie	tristate "LED Support for the Sharp SL-Cxx00 series"
43bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARP_Cxx00
443179108dSRichard Purdie	help
453179108dSRichard Purdie	  This option enables support for the LEDs on Sharp Zaurus
463179108dSRichard Purdie	  SL-Cxx00 series (C1000, C3000, C3100).
473179108dSRichard Purdie
4854bdc470SBen Dooksconfig LEDS_S3C24XX
4954bdc470SBen Dooks	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
5054bdc470SBen Dooks	depends on LEDS_CLASS && ARCH_S3C2410
5154bdc470SBen Dooks	help
5254bdc470SBen Dooks	  This option enables support for LEDs connected to GPIO lines
5354bdc470SBen Dooks	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
5454bdc470SBen Dooks
559becde79SJonathan McDowellconfig LEDS_AMS_DELTA
569becde79SJonathan McDowell	tristate "LED Support for the Amstrad Delta (E3)"
57bef1f402SRobert P. J. Day	depends on LEDS_CLASS && MACH_AMS_DELTA
589becde79SJonathan McDowell	help
599becde79SJonathan McDowell	  This option enables support for the LEDs on Amstrad Delta (E3).
609becde79SJonathan McDowell
611a87d942SChris Bootconfig LEDS_NET48XX
621a87d942SChris Boot	tristate "LED Support for Soekris net48xx series Error LED"
631a87d942SChris Boot	depends on LEDS_CLASS && SCx200_GPIO
641a87d942SChris Boot	help
651a87d942SChris Boot	  This option enables support for the Soekris net4801 and net4826 error
661a87d942SChris Boot	  LED.
671a87d942SChris Boot
683b2e46f8SRod Whitbyconfig LEDS_FSG
693b2e46f8SRod Whitby	tristate "LED Support for the Freecom FSG-3"
703b2e46f8SRod Whitby	depends on LEDS_CLASS && MACH_FSG
713b2e46f8SRod Whitby	help
723b2e46f8SRod Whitby	  This option enables support for the LEDs on the Freecom FSG-3.
733b2e46f8SRod Whitby
740d75565fSKristian Kielhofnerconfig LEDS_WRAP
750d75565fSKristian Kielhofner	tristate "LED Support for the WRAP series LEDs"
760d75565fSKristian Kielhofner	depends on LEDS_CLASS && SCx200_GPIO
770d75565fSKristian Kielhofner	help
780d75565fSKristian Kielhofner	  This option enables support for the PCEngines WRAP programmable LEDs.
790d75565fSKristian Kielhofner
80bd4009afSArnaud Patardconfig LEDS_H1940
81bd4009afSArnaud Patard	tristate "LED Support for iPAQ H1940 device"
82247537b9SAdrian Bunk	depends on LEDS_CLASS && ARCH_H1940
83bd4009afSArnaud Patard	help
84bd4009afSArnaud Patard	  This option enables support for the LEDs on the h1940.
85bd4009afSArnaud Patard
86f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE
87f3b6b6cdSYoichi Yuasa	tristate "LED Support for the Cobalt Qube series front LED"
882fea6f35SFlorian Fainelli	depends on LEDS_CLASS && MIPS_COBALT
892fea6f35SFlorian Fainelli	help
90f3b6b6cdSYoichi Yuasa	  This option enables support for the front LED on Cobalt Qube series
912fea6f35SFlorian Fainelli
9297da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ
9397da7aafSYoichi Yuasa	bool "LED Support for the Cobalt Raq series"
9497da7aafSYoichi Yuasa	depends on LEDS_CLASS && MIPS_COBALT
9597da7aafSYoichi Yuasa	select LEDS_TRIGGERS
9697da7aafSYoichi Yuasa	help
9797da7aafSYoichi Yuasa	  This option enables support for the Cobalt Raq series LEDs.
9897da7aafSYoichi Yuasa
99d39a7a63SKristoffer Ericsonconfig LEDS_HP6XX
100d39a7a63SKristoffer Ericson	tristate "LED Support for the HP Jornada 6xx"
101d39a7a63SKristoffer Ericson	depends on LEDS_CLASS && SH_HP6XX
102d39a7a63SKristoffer Ericson	help
103d39a7a63SKristoffer Ericson	  This option enables led support for the handheld
104d39a7a63SKristoffer Ericson	  HP Jornada 620/660/680/690.
105d39a7a63SKristoffer Ericson
106*e14fa824SRiku Voipioconfig LEDS_PCA9532
107*e14fa824SRiku Voipio	tristate "LED driver for PCA9532 dimmer"
108*e14fa824SRiku Voipio	depends on LEDS_CLASS && I2C && INPUT && EXPERIMENTAL
109*e14fa824SRiku Voipio	help
110*e14fa824SRiku Voipio	  This option enables support for NXP pca9532
111*e14fa824SRiku Voipio	  led controller. It is generally only usefull
112*e14fa824SRiku Voipio	  as a platform driver
113*e14fa824SRiku Voipio
11422e03f3bSRaphael Assenatconfig LEDS_GPIO
11522e03f3bSRaphael Assenat	tristate "LED Support for GPIO connected LEDs"
11622e03f3bSRaphael Assenat	depends on LEDS_CLASS && GENERIC_GPIO
11722e03f3bSRaphael Assenat	help
11822e03f3bSRaphael Assenat	  This option enables support for the LEDs connected to GPIO
11922e03f3bSRaphael Assenat	  outputs. To be useful the particular board must have LEDs
12022e03f3bSRaphael Assenat	  and they must be connected to the GPIO lines.
12122e03f3bSRaphael Assenat
1223696a8a4SMike Rapoportconfig LEDS_CM_X270
1233696a8a4SMike Rapoport	tristate "LED Support for the CM-X270 LEDs"
1243696a8a4SMike Rapoport	depends on LEDS_CLASS && MACH_ARMCORE
1253696a8a4SMike Rapoport	help
1263696a8a4SMike Rapoport	  This option enables support for the CM-X270 LEDs.
1273696a8a4SMike Rapoport
128cec035deSMárton Némethconfig LEDS_CLEVO_MAIL
129cec035deSMárton Németh	tristate "Mail LED on Clevo notebook (EXPERIMENTAL)"
130cec035deSMárton Németh	depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI && EXPERIMENTAL
131cec035deSMárton Németh	help
132cec035deSMárton Németh	  This driver makes the mail LED accessible from userspace
133cec035deSMárton Németh	  programs through the leds subsystem. This LED have three
134cec035deSMárton Németh	  known mode: off, blink at 0.5Hz and blink at 1Hz.
135cec035deSMárton Németh
13692e015cbSMárton Németh	  The driver supports two kinds of interface: using ledtrig-timer
13792e015cbSMárton Németh	  or through /sys/class/leds/clevo::mail/brightness. As this LED
13892e015cbSMárton Németh	  cannot change it's brightness it blinks instead. The brightness
13992e015cbSMárton Németh	  value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
14092e015cbSMárton Németh	  blink at 1Hz.
141cec035deSMárton Németh
142cec035deSMárton Németh	  This module can drive the mail LED for the following notebooks:
143cec035deSMárton Németh
144b3ba31f8SMrton Nmeth	  	Clevo D400P
145cec035deSMárton Németh	  	Clevo D410J
146cec035deSMárton Németh	  	Clevo D410V
147cec035deSMárton Németh	  	Clevo D400V/D470V (not tested, but might work)
148cec035deSMárton Németh	  	Clevo M540N
149cec035deSMárton Németh	  	Clevo M5x0N (not tested, but might work)
150cec035deSMárton Németh	  	Positivo Mobile (Clevo M5x0V)
151cec035deSMárton Németh
152b3ba31f8SMrton Nmeth	  If your model is not listed here you can try the "nodetect"
153b3ba31f8SMrton Nmeth	  module paramter.
154b3ba31f8SMrton Nmeth
155cec035deSMárton Németh	  To compile this driver as a module, choose M here: the
156cec035deSMárton Németh	  module will be called leds-clevo-mail.
157cec035deSMárton Németh
15824f51e81SBen Dookscomment "LED Triggers"
15924f51e81SBen Dooks
16024f51e81SBen Dooksconfig LEDS_TRIGGERS
16124f51e81SBen Dooks	bool "LED Trigger support"
16224f51e81SBen Dooks	help
16324f51e81SBen Dooks	  This option enables trigger support for the leds class.
16424f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
16524f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
16624f51e81SBen Dooks
1676655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
1686655c6feSRichard Purdie	tristate "LED Timer Trigger"
169bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS
1706655c6feSRichard Purdie	help
1716655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
1724c79141dSMárton Németh	  via sysfs. Some LED hardware can be programmed to start
1734c79141dSMárton Németh	  blinking the LED without any further software interaction.
1744c79141dSMárton Németh	  For more details read Documentation/leds-class.txt.
1754c79141dSMárton Németh
1764c79141dSMárton Németh	  If unsure, say Y.
1776655c6feSRichard Purdie
1782bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
179baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
180bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS && BLK_DEV_IDEDISK
1812bfb646cSRichard Purdie	help
1822bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
1832bfb646cSRichard Purdie	  If unsure, say Y.
1842bfb646cSRichard Purdie
185891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT
186891c668bSAtsushi Nemoto	tristate "LED Heartbeat Trigger"
187bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS
188891c668bSAtsushi Nemoto	help
189891c668bSAtsushi Nemoto	  This allows LEDs to be controlled by a CPU load average.
190891c668bSAtsushi Nemoto	  The flash frequency is a hyperbolic function of the 1-minute
191891c668bSAtsushi Nemoto	  load average.
192891c668bSAtsushi Nemoto	  If unsure, say Y.
193891c668bSAtsushi Nemoto
194060856c7SNick Forbesconfig LEDS_TRIGGER_DEFAULT_ON
195060856c7SNick Forbes	tristate "LED Default ON Trigger"
196060856c7SNick Forbes	depends on LEDS_TRIGGERS
197060856c7SNick Forbes	help
198060856c7SNick Forbes	  This allows LEDs to be initialised in the ON state.
199060856c7SNick Forbes	  If unsure, say Y.
200060856c7SNick Forbes
20166242f7eSJan Engelhardtendif # NEW_LEDS
202