xref: /linux/drivers/leds/Kconfig (revision d39a7a63eb3971b1b3cc5c181ed526bf437b1c72)
166242f7eSJan Engelhardtmenuconfig NEW_LEDS
2c72a1d60SRichard Purdie	bool "LED Support"
366242f7eSJan Engelhardt	depends on HAS_IOMEM
4c72a1d60SRichard Purdie	help
5a8d2e7d9SRichard Purdie	  Say Y to enable Linux LED support.  This allows control of supported
6a8d2e7d9SRichard Purdie	  LEDs from both userspace and optionally, by kernel events (triggers).
7a8d2e7d9SRichard Purdie
8a8d2e7d9SRichard Purdie	  This is not related to standard keyboard LEDs which are controlled
9a8d2e7d9SRichard Purdie	  via the input system.
10c72a1d60SRichard Purdie
1166242f7eSJan Engelhardtif NEW_LEDS
1266242f7eSJan Engelhardt
13c72a1d60SRichard Purdieconfig LEDS_CLASS
14c72a1d60SRichard Purdie	tristate "LED Class Support"
15c72a1d60SRichard Purdie	help
16c72a1d60SRichard Purdie	  This option enables the led sysfs class in /sys/class/leds.  You'll
17c72a1d60SRichard Purdie	  need this to do anything useful with LEDs.  If unsure, say N.
18c72a1d60SRichard Purdie
1924f51e81SBen Dookscomment "LED drivers"
20c3bc9956SRichard Purdie
213179108dSRichard Purdieconfig LEDS_CORGI
223179108dSRichard Purdie	tristate "LED Support for the Sharp SL-C7x0 series"
23bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARP_C7xx
243179108dSRichard Purdie	help
253179108dSRichard Purdie	  This option enables support for the LEDs on Sharp Zaurus
263179108dSRichard Purdie	  SL-C7x0 series (C700, C750, C760, C860).
273179108dSRichard Purdie
284d3cb354SRichard Purdieconfig LEDS_LOCOMO
294d3cb354SRichard Purdie	tristate "LED Support for Locomo device"
30bef1f402SRobert P. J. Day	depends on LEDS_CLASS && SHARP_LOCOMO
314d3cb354SRichard Purdie	help
324d3cb354SRichard Purdie	  This option enables support for the LEDs on Sharp Locomo.
334d3cb354SRichard Purdie	  Zaurus models SL-5500 and SL-5600.
344d3cb354SRichard Purdie
353179108dSRichard Purdieconfig LEDS_SPITZ
363179108dSRichard Purdie	tristate "LED Support for the Sharp SL-Cxx00 series"
37bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARP_Cxx00
383179108dSRichard Purdie	help
393179108dSRichard Purdie	  This option enables support for the LEDs on Sharp Zaurus
403179108dSRichard Purdie	  SL-Cxx00 series (C1000, C3000, C3100).
413179108dSRichard Purdie
426d0cf3e0SDirk Opferconfig LEDS_TOSA
436d0cf3e0SDirk Opfer	tristate "LED Support for the Sharp SL-6000 series"
44bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARPSL
456d0cf3e0SDirk Opfer	help
466d0cf3e0SDirk Opfer	  This option enables support for the LEDs on Sharp Zaurus
476d0cf3e0SDirk Opfer	  SL-6000 series.
486d0cf3e0SDirk Opfer
4954bdc470SBen Dooksconfig LEDS_S3C24XX
5054bdc470SBen Dooks	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
5154bdc470SBen Dooks	depends on LEDS_CLASS && ARCH_S3C2410
5254bdc470SBen Dooks	help
5354bdc470SBen Dooks	  This option enables support for LEDs connected to GPIO lines
5454bdc470SBen Dooks	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
5554bdc470SBen Dooks
569becde79SJonathan McDowellconfig LEDS_AMS_DELTA
579becde79SJonathan McDowell	tristate "LED Support for the Amstrad Delta (E3)"
58bef1f402SRobert P. J. Day	depends on LEDS_CLASS && MACH_AMS_DELTA
599becde79SJonathan McDowell	help
609becde79SJonathan McDowell	  This option enables support for the LEDs on Amstrad Delta (E3).
619becde79SJonathan McDowell
621a87d942SChris Bootconfig LEDS_NET48XX
631a87d942SChris Boot	tristate "LED Support for Soekris net48xx series Error LED"
641a87d942SChris Boot	depends on LEDS_CLASS && SCx200_GPIO
651a87d942SChris Boot	help
661a87d942SChris Boot	  This option enables support for the Soekris net4801 and net4826 error
671a87d942SChris Boot	  LED.
681a87d942SChris Boot
690d75565fSKristian Kielhofnerconfig LEDS_WRAP
700d75565fSKristian Kielhofner	tristate "LED Support for the WRAP series LEDs"
710d75565fSKristian Kielhofner	depends on LEDS_CLASS && SCx200_GPIO
720d75565fSKristian Kielhofner	help
730d75565fSKristian Kielhofner	  This option enables support for the PCEngines WRAP programmable LEDs.
740d75565fSKristian Kielhofner
75bd4009afSArnaud Patardconfig LEDS_H1940
76bd4009afSArnaud Patard	tristate "LED Support for iPAQ H1940 device"
77247537b9SAdrian Bunk	depends on LEDS_CLASS && ARCH_H1940
78bd4009afSArnaud Patard	help
79bd4009afSArnaud Patard	  This option enables support for the LEDs on the h1940.
80bd4009afSArnaud Patard
81f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE
82f3b6b6cdSYoichi Yuasa	tristate "LED Support for the Cobalt Qube series front LED"
832fea6f35SFlorian Fainelli	depends on LEDS_CLASS && MIPS_COBALT
842fea6f35SFlorian Fainelli	help
85f3b6b6cdSYoichi Yuasa	  This option enables support for the front LED on Cobalt Qube series
862fea6f35SFlorian Fainelli
8797da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ
8897da7aafSYoichi Yuasa	bool "LED Support for the Cobalt Raq series"
8997da7aafSYoichi Yuasa	depends on LEDS_CLASS && MIPS_COBALT
9097da7aafSYoichi Yuasa	select LEDS_TRIGGERS
9197da7aafSYoichi Yuasa	help
9297da7aafSYoichi Yuasa	  This option enables support for the Cobalt Raq series LEDs.
9397da7aafSYoichi Yuasa
94*d39a7a63SKristoffer Ericsonconfig LEDS_HP6XX
95*d39a7a63SKristoffer Ericson	tristate "LED Support for the HP Jornada 6xx"
96*d39a7a63SKristoffer Ericson	depends on LEDS_CLASS && SH_HP6XX
97*d39a7a63SKristoffer Ericson	help
98*d39a7a63SKristoffer Ericson	  This option enables led support for the handheld
99*d39a7a63SKristoffer Ericson	  HP Jornada 620/660/680/690.
100*d39a7a63SKristoffer Ericson
10122e03f3bSRaphael Assenatconfig LEDS_GPIO
10222e03f3bSRaphael Assenat	tristate "LED Support for GPIO connected LEDs"
10322e03f3bSRaphael Assenat	depends on LEDS_CLASS && GENERIC_GPIO
10422e03f3bSRaphael Assenat	help
10522e03f3bSRaphael Assenat	  This option enables support for the LEDs connected to GPIO
10622e03f3bSRaphael Assenat	  outputs. To be useful the particular board must have LEDs
10722e03f3bSRaphael Assenat	  and they must be connected to the GPIO lines.
10822e03f3bSRaphael Assenat
1093696a8a4SMike Rapoportconfig LEDS_CM_X270
1103696a8a4SMike Rapoport	tristate "LED Support for the CM-X270 LEDs"
1113696a8a4SMike Rapoport	depends on LEDS_CLASS && MACH_ARMCORE
1123696a8a4SMike Rapoport	help
1133696a8a4SMike Rapoport	  This option enables support for the CM-X270 LEDs.
1143696a8a4SMike Rapoport
115cec035deSMárton Némethconfig LEDS_CLEVO_MAIL
116cec035deSMárton Németh	tristate "Mail LED on Clevo notebook (EXPERIMENTAL)"
117cec035deSMárton Németh	depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI && EXPERIMENTAL
118cec035deSMárton Németh	help
119cec035deSMárton Németh	  This driver makes the mail LED accessible from userspace
120cec035deSMárton Németh	  programs through the leds subsystem. This LED have three
121cec035deSMárton Németh	  known mode: off, blink at 0.5Hz and blink at 1Hz.
122cec035deSMárton Németh
12392e015cbSMárton Németh	  The driver supports two kinds of interface: using ledtrig-timer
12492e015cbSMárton Németh	  or through /sys/class/leds/clevo::mail/brightness. As this LED
12592e015cbSMárton Németh	  cannot change it's brightness it blinks instead. The brightness
12692e015cbSMárton Németh	  value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
12792e015cbSMárton Németh	  blink at 1Hz.
128cec035deSMárton Németh
129cec035deSMárton Németh	  This module can drive the mail LED for the following notebooks:
130cec035deSMárton Németh
131cec035deSMárton Németh	  	Clevo D410J
132cec035deSMárton Németh	  	Clevo D410V
133cec035deSMárton Németh	  	Clevo D400V/D470V (not tested, but might work)
134cec035deSMárton Németh	  	Clevo M540N
135cec035deSMárton Németh	  	Clevo M5x0N (not tested, but might work)
136cec035deSMárton Németh	  	Positivo Mobile (Clevo M5x0V)
137cec035deSMárton Németh
138cec035deSMárton Németh	  To compile this driver as a module, choose M here: the
139cec035deSMárton Németh	  module will be called leds-clevo-mail.
140cec035deSMárton Németh
14124f51e81SBen Dookscomment "LED Triggers"
14224f51e81SBen Dooks
14324f51e81SBen Dooksconfig LEDS_TRIGGERS
14424f51e81SBen Dooks	bool "LED Trigger support"
14524f51e81SBen Dooks	help
14624f51e81SBen Dooks	  This option enables trigger support for the leds class.
14724f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
14824f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
14924f51e81SBen Dooks
1506655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
1516655c6feSRichard Purdie	tristate "LED Timer Trigger"
152bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS
1536655c6feSRichard Purdie	help
1546655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
1554c79141dSMárton Németh	  via sysfs. Some LED hardware can be programmed to start
1564c79141dSMárton Németh	  blinking the LED without any further software interaction.
1574c79141dSMárton Németh	  For more details read Documentation/leds-class.txt.
1584c79141dSMárton Németh
1594c79141dSMárton Németh	  If unsure, say Y.
1606655c6feSRichard Purdie
1612bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
162baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
163bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS && BLK_DEV_IDEDISK
1642bfb646cSRichard Purdie	help
1652bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
1662bfb646cSRichard Purdie	  If unsure, say Y.
1672bfb646cSRichard Purdie
168891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT
169891c668bSAtsushi Nemoto	tristate "LED Heartbeat Trigger"
170bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS
171891c668bSAtsushi Nemoto	help
172891c668bSAtsushi Nemoto	  This allows LEDs to be controlled by a CPU load average.
173891c668bSAtsushi Nemoto	  The flash frequency is a hyperbolic function of the 1-minute
174891c668bSAtsushi Nemoto	  load average.
175891c668bSAtsushi Nemoto	  If unsure, say Y.
176891c668bSAtsushi Nemoto
17766242f7eSJan Engelhardtendif # NEW_LEDS
178