xref: /linux/drivers/leds/Kconfig (revision 2fea6f35c388c5add15d1492c7f4f3dac401717b)
1c72a1d60SRichard Purdie
2c72a1d60SRichard Purdiemenu "LED devices"
3c72a1d60SRichard Purdie
4c72a1d60SRichard Purdieconfig NEW_LEDS
5c72a1d60SRichard Purdie	bool "LED Support"
6c72a1d60SRichard Purdie	help
7a8d2e7d9SRichard Purdie	  Say Y to enable Linux LED support.  This allows control of supported
8a8d2e7d9SRichard Purdie	  LEDs from both userspace and optionally, by kernel events (triggers).
9a8d2e7d9SRichard Purdie
10a8d2e7d9SRichard Purdie	  This is not related to standard keyboard LEDs which are controlled
11a8d2e7d9SRichard Purdie	  via the input system.
12c72a1d60SRichard Purdie
13c72a1d60SRichard Purdieconfig LEDS_CLASS
14c72a1d60SRichard Purdie	tristate "LED Class Support"
15bef1f402SRobert P. J. Day	depends on NEW_LEDS
16c72a1d60SRichard Purdie	help
17c72a1d60SRichard Purdie	  This option enables the led sysfs class in /sys/class/leds.  You'll
18c72a1d60SRichard Purdie	  need this to do anything useful with LEDs.  If unsure, say N.
19c72a1d60SRichard Purdie
2024f51e81SBen Dookscomment "LED drivers"
21c3bc9956SRichard Purdie
223179108dSRichard Purdieconfig LEDS_CORGI
233179108dSRichard Purdie	tristate "LED Support for the Sharp SL-C7x0 series"
24bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARP_C7xx
253179108dSRichard Purdie	help
263179108dSRichard Purdie	  This option enables support for the LEDs on Sharp Zaurus
273179108dSRichard Purdie	  SL-C7x0 series (C700, C750, C760, C860).
283179108dSRichard Purdie
294d3cb354SRichard Purdieconfig LEDS_LOCOMO
304d3cb354SRichard Purdie	tristate "LED Support for Locomo device"
31bef1f402SRobert P. J. Day	depends on LEDS_CLASS && SHARP_LOCOMO
324d3cb354SRichard Purdie	help
334d3cb354SRichard Purdie	  This option enables support for the LEDs on Sharp Locomo.
344d3cb354SRichard Purdie	  Zaurus models SL-5500 and SL-5600.
354d3cb354SRichard Purdie
363179108dSRichard Purdieconfig LEDS_SPITZ
373179108dSRichard Purdie	tristate "LED Support for the Sharp SL-Cxx00 series"
38bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARP_Cxx00
393179108dSRichard Purdie	help
403179108dSRichard Purdie	  This option enables support for the LEDs on Sharp Zaurus
413179108dSRichard Purdie	  SL-Cxx00 series (C1000, C3000, C3100).
423179108dSRichard Purdie
436a0c51bfSJohn Bowlerconfig LEDS_IXP4XX
446a0c51bfSJohn Bowler	tristate "LED Support for GPIO connected LEDs on IXP4XX processors"
45bef1f402SRobert P. J. Day	depends on LEDS_CLASS && ARCH_IXP4XX
466a0c51bfSJohn Bowler	help
476a0c51bfSJohn Bowler	  This option enables support for the LEDs connected to GPIO
486a0c51bfSJohn Bowler	  outputs of the Intel IXP4XX processors.  To be useful the
496a0c51bfSJohn Bowler	  particular board must have LEDs and they must be connected
506a0c51bfSJohn Bowler	  to the GPIO lines.  If unsure, say Y.
516a0c51bfSJohn Bowler
526d0cf3e0SDirk Opferconfig LEDS_TOSA
536d0cf3e0SDirk Opfer	tristate "LED Support for the Sharp SL-6000 series"
54bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARPSL
556d0cf3e0SDirk Opfer	help
566d0cf3e0SDirk Opfer	  This option enables support for the LEDs on Sharp Zaurus
576d0cf3e0SDirk Opfer	  SL-6000 series.
586d0cf3e0SDirk Opfer
5954bdc470SBen Dooksconfig LEDS_S3C24XX
6054bdc470SBen Dooks	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
6154bdc470SBen Dooks	depends on LEDS_CLASS && ARCH_S3C2410
6254bdc470SBen Dooks	help
6354bdc470SBen Dooks	  This option enables support for LEDs connected to GPIO lines
6454bdc470SBen Dooks	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
6554bdc470SBen Dooks
669becde79SJonathan McDowellconfig LEDS_AMS_DELTA
679becde79SJonathan McDowell	tristate "LED Support for the Amstrad Delta (E3)"
68bef1f402SRobert P. J. Day	depends on LEDS_CLASS && MACH_AMS_DELTA
699becde79SJonathan McDowell	help
709becde79SJonathan McDowell	  This option enables support for the LEDs on Amstrad Delta (E3).
719becde79SJonathan McDowell
721a87d942SChris Bootconfig LEDS_NET48XX
731a87d942SChris Boot	tristate "LED Support for Soekris net48xx series Error LED"
741a87d942SChris Boot	depends on LEDS_CLASS && SCx200_GPIO
751a87d942SChris Boot	help
761a87d942SChris Boot	  This option enables support for the Soekris net4801 and net4826 error
771a87d942SChris Boot	  LED.
781a87d942SChris Boot
790d75565fSKristian Kielhofnerconfig LEDS_WRAP
800d75565fSKristian Kielhofner	tristate "LED Support for the WRAP series LEDs"
810d75565fSKristian Kielhofner	depends on LEDS_CLASS && SCx200_GPIO
820d75565fSKristian Kielhofner	help
830d75565fSKristian Kielhofner	  This option enables support for the PCEngines WRAP programmable LEDs.
840d75565fSKristian Kielhofner
85bd4009afSArnaud Patardconfig LEDS_H1940
86bd4009afSArnaud Patard	tristate "LED Support for iPAQ H1940 device"
87bd4009afSArnaud Patard	depends LEDS_CLASS && ARCH_H1940
88bd4009afSArnaud Patard	help
89bd4009afSArnaud Patard	  This option enables support for the LEDs on the h1940.
90bd4009afSArnaud Patard
91*2fea6f35SFlorian Fainelliconfig LEDS_COBALT
92*2fea6f35SFlorian Fainelli	tristate "LED Support for Cobalt Server front LED"
93*2fea6f35SFlorian Fainelli	depends on LEDS_CLASS && MIPS_COBALT
94*2fea6f35SFlorian Fainelli	help
95*2fea6f35SFlorian Fainelli	  This option enables support for the front LED on Cobalt Server
96*2fea6f35SFlorian Fainelli
9724f51e81SBen Dookscomment "LED Triggers"
9824f51e81SBen Dooks
9924f51e81SBen Dooksconfig LEDS_TRIGGERS
10024f51e81SBen Dooks	bool "LED Trigger support"
101bef1f402SRobert P. J. Day	depends on NEW_LEDS
10224f51e81SBen Dooks	help
10324f51e81SBen Dooks	  This option enables trigger support for the leds class.
10424f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
10524f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
10624f51e81SBen Dooks
1076655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
1086655c6feSRichard Purdie	tristate "LED Timer Trigger"
109bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS
1106655c6feSRichard Purdie	help
1116655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
1126655c6feSRichard Purdie	  via sysfs. If unsure, say Y.
1136655c6feSRichard Purdie
1142bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
115baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
116bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS && BLK_DEV_IDEDISK
1172bfb646cSRichard Purdie	help
1182bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
1192bfb646cSRichard Purdie	  If unsure, say Y.
1202bfb646cSRichard Purdie
121891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT
122891c668bSAtsushi Nemoto	tristate "LED Heartbeat Trigger"
123bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS
124891c668bSAtsushi Nemoto	help
125891c668bSAtsushi Nemoto	  This allows LEDs to be controlled by a CPU load average.
126891c668bSAtsushi Nemoto	  The flash frequency is a hyperbolic function of the 1-minute
127891c668bSAtsushi Nemoto	  load average.
128891c668bSAtsushi Nemoto	  If unsure, say Y.
129891c668bSAtsushi Nemoto
130c72a1d60SRichard Purdieendmenu
131c72a1d60SRichard Purdie
132