xref: /linux/drivers/leds/Kconfig (revision a8d2e7d95229db9999682113bfac40b49978f212)
1c72a1d60SRichard Purdie
2c72a1d60SRichard Purdiemenu "LED devices"
3c72a1d60SRichard Purdie
4c72a1d60SRichard Purdieconfig NEW_LEDS
5c72a1d60SRichard Purdie	bool "LED Support"
6c72a1d60SRichard Purdie	help
7*a8d2e7d9SRichard Purdie	  Say Y to enable Linux LED support.  This allows control of supported
8*a8d2e7d9SRichard Purdie	  LEDs from both userspace and optionally, by kernel events (triggers).
9*a8d2e7d9SRichard Purdie
10*a8d2e7d9SRichard Purdie	  This is not related to standard keyboard LEDs which are controlled
11*a8d2e7d9SRichard Purdie	  via the input system.
12c72a1d60SRichard Purdie
13c72a1d60SRichard Purdieconfig LEDS_CLASS
14c72a1d60SRichard Purdie	tristate "LED Class Support"
15c72a1d60SRichard Purdie	depends 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"
243179108dSRichard Purdie	depends 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"
314d3cb354SRichard Purdie	depends 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"
383179108dSRichard Purdie	depends 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"
456a0c51bfSJohn Bowler	depends 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"
546d0cf3e0SDirk Opfer	depends 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
6624f51e81SBen Dookscomment "LED Triggers"
6724f51e81SBen Dooks
6824f51e81SBen Dooksconfig LEDS_TRIGGERS
6924f51e81SBen Dooks	bool "LED Trigger support"
7024f51e81SBen Dooks	depends NEW_LEDS
7124f51e81SBen Dooks	help
7224f51e81SBen Dooks	  This option enables trigger support for the leds class.
7324f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
7424f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
7524f51e81SBen Dooks
766655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
776655c6feSRichard Purdie	tristate "LED Timer Trigger"
786655c6feSRichard Purdie	depends LEDS_TRIGGERS
796655c6feSRichard Purdie	help
806655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
816655c6feSRichard Purdie	  via sysfs. If unsure, say Y.
826655c6feSRichard Purdie
832bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
84baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
852bfb646cSRichard Purdie	depends LEDS_TRIGGERS && BLK_DEV_IDEDISK
862bfb646cSRichard Purdie	help
872bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
882bfb646cSRichard Purdie	  If unsure, say Y.
892bfb646cSRichard Purdie
90c72a1d60SRichard Purdieendmenu
91c72a1d60SRichard Purdie
92