xref: /linux/drivers/leds/Kconfig (revision 97da7aaf46fedcf1a38a88e5ffc2c40df23e8013)
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
426a0c51bfSJohn Bowlerconfig LEDS_IXP4XX
436a0c51bfSJohn Bowler	tristate "LED Support for GPIO connected LEDs on IXP4XX processors"
44bef1f402SRobert P. J. Day	depends on LEDS_CLASS && ARCH_IXP4XX
456a0c51bfSJohn Bowler	help
466a0c51bfSJohn Bowler	  This option enables support for the LEDs connected to GPIO
476a0c51bfSJohn Bowler	  outputs of the Intel IXP4XX processors.  To be useful the
486a0c51bfSJohn Bowler	  particular board must have LEDs and they must be connected
496a0c51bfSJohn Bowler	  to the GPIO lines.  If unsure, say Y.
506a0c51bfSJohn Bowler
516d0cf3e0SDirk Opferconfig LEDS_TOSA
526d0cf3e0SDirk Opfer	tristate "LED Support for the Sharp SL-6000 series"
53bef1f402SRobert P. J. Day	depends on LEDS_CLASS && PXA_SHARPSL
546d0cf3e0SDirk Opfer	help
556d0cf3e0SDirk Opfer	  This option enables support for the LEDs on Sharp Zaurus
566d0cf3e0SDirk Opfer	  SL-6000 series.
576d0cf3e0SDirk Opfer
5854bdc470SBen Dooksconfig LEDS_S3C24XX
5954bdc470SBen Dooks	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
6054bdc470SBen Dooks	depends on LEDS_CLASS && ARCH_S3C2410
6154bdc470SBen Dooks	help
6254bdc470SBen Dooks	  This option enables support for LEDs connected to GPIO lines
6354bdc470SBen Dooks	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
6454bdc470SBen Dooks
659becde79SJonathan McDowellconfig LEDS_AMS_DELTA
669becde79SJonathan McDowell	tristate "LED Support for the Amstrad Delta (E3)"
67bef1f402SRobert P. J. Day	depends on LEDS_CLASS && MACH_AMS_DELTA
689becde79SJonathan McDowell	help
699becde79SJonathan McDowell	  This option enables support for the LEDs on Amstrad Delta (E3).
709becde79SJonathan McDowell
711a87d942SChris Bootconfig LEDS_NET48XX
721a87d942SChris Boot	tristate "LED Support for Soekris net48xx series Error LED"
731a87d942SChris Boot	depends on LEDS_CLASS && SCx200_GPIO
741a87d942SChris Boot	help
751a87d942SChris Boot	  This option enables support for the Soekris net4801 and net4826 error
761a87d942SChris Boot	  LED.
771a87d942SChris Boot
780d75565fSKristian Kielhofnerconfig LEDS_WRAP
790d75565fSKristian Kielhofner	tristate "LED Support for the WRAP series LEDs"
800d75565fSKristian Kielhofner	depends on LEDS_CLASS && SCx200_GPIO
810d75565fSKristian Kielhofner	help
820d75565fSKristian Kielhofner	  This option enables support for the PCEngines WRAP programmable LEDs.
830d75565fSKristian Kielhofner
84bd4009afSArnaud Patardconfig LEDS_H1940
85bd4009afSArnaud Patard	tristate "LED Support for iPAQ H1940 device"
86bd4009afSArnaud Patard	depends LEDS_CLASS && ARCH_H1940
87bd4009afSArnaud Patard	help
88bd4009afSArnaud Patard	  This option enables support for the LEDs on the h1940.
89bd4009afSArnaud Patard
90f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE
91f3b6b6cdSYoichi Yuasa	tristate "LED Support for the Cobalt Qube series front LED"
922fea6f35SFlorian Fainelli	depends on LEDS_CLASS && MIPS_COBALT
932fea6f35SFlorian Fainelli	help
94f3b6b6cdSYoichi Yuasa	  This option enables support for the front LED on Cobalt Qube series
952fea6f35SFlorian Fainelli
96*97da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ
97*97da7aafSYoichi Yuasa	bool "LED Support for the Cobalt Raq series"
98*97da7aafSYoichi Yuasa	depends on LEDS_CLASS && MIPS_COBALT
99*97da7aafSYoichi Yuasa	select LEDS_TRIGGERS
100*97da7aafSYoichi Yuasa	help
101*97da7aafSYoichi Yuasa	  This option enables support for the Cobalt Raq series LEDs.
102*97da7aafSYoichi Yuasa
10322e03f3bSRaphael Assenatconfig LEDS_GPIO
10422e03f3bSRaphael Assenat	tristate "LED Support for GPIO connected LEDs"
10522e03f3bSRaphael Assenat	depends on LEDS_CLASS && GENERIC_GPIO
10622e03f3bSRaphael Assenat	help
10722e03f3bSRaphael Assenat	  This option enables support for the LEDs connected to GPIO
10822e03f3bSRaphael Assenat	  outputs. To be useful the particular board must have LEDs
10922e03f3bSRaphael Assenat	  and they must be connected to the GPIO lines.
11022e03f3bSRaphael Assenat
11124f51e81SBen Dookscomment "LED Triggers"
11224f51e81SBen Dooks
11324f51e81SBen Dooksconfig LEDS_TRIGGERS
11424f51e81SBen Dooks	bool "LED Trigger support"
11524f51e81SBen Dooks	help
11624f51e81SBen Dooks	  This option enables trigger support for the leds class.
11724f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
11824f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
11924f51e81SBen Dooks
1206655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
1216655c6feSRichard Purdie	tristate "LED Timer Trigger"
122bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS
1236655c6feSRichard Purdie	help
1246655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
1256655c6feSRichard Purdie	  via sysfs. If unsure, say Y.
1266655c6feSRichard Purdie
1272bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
128baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
129bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS && BLK_DEV_IDEDISK
1302bfb646cSRichard Purdie	help
1312bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
1322bfb646cSRichard Purdie	  If unsure, say Y.
1332bfb646cSRichard Purdie
134891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT
135891c668bSAtsushi Nemoto	tristate "LED Heartbeat Trigger"
136bef1f402SRobert P. J. Day	depends on LEDS_TRIGGERS
137891c668bSAtsushi Nemoto	help
138891c668bSAtsushi Nemoto	  This allows LEDs to be controlled by a CPU load average.
139891c668bSAtsushi Nemoto	  The flash frequency is a hyperbolic function of the 1-minute
140891c668bSAtsushi Nemoto	  load average.
141891c668bSAtsushi Nemoto	  If unsure, say Y.
142891c668bSAtsushi Nemoto
14366242f7eSJan Engelhardtendif # NEW_LEDS
144