xref: /linux/drivers/leds/Kconfig (revision c537b994505099b7197e7d3125b942ecbcc51eb6)
1
2menu "LED devices"
3
4config NEW_LEDS
5	bool "LED Support"
6	help
7	  Say Y to enable Linux LED support.  This allows control of supported
8	  LEDs from both userspace and optionally, by kernel events (triggers).
9
10	  This is not related to standard keyboard LEDs which are controlled
11	  via the input system.
12
13config LEDS_CLASS
14	tristate "LED Class Support"
15	depends on NEW_LEDS
16	help
17	  This option enables the led sysfs class in /sys/class/leds.  You'll
18	  need this to do anything useful with LEDs.  If unsure, say N.
19
20comment "LED drivers"
21
22config LEDS_CORGI
23	tristate "LED Support for the Sharp SL-C7x0 series"
24	depends on LEDS_CLASS && PXA_SHARP_C7xx
25	help
26	  This option enables support for the LEDs on Sharp Zaurus
27	  SL-C7x0 series (C700, C750, C760, C860).
28
29config LEDS_LOCOMO
30	tristate "LED Support for Locomo device"
31	depends on LEDS_CLASS && SHARP_LOCOMO
32	help
33	  This option enables support for the LEDs on Sharp Locomo.
34	  Zaurus models SL-5500 and SL-5600.
35
36config LEDS_SPITZ
37	tristate "LED Support for the Sharp SL-Cxx00 series"
38	depends on LEDS_CLASS && PXA_SHARP_Cxx00
39	help
40	  This option enables support for the LEDs on Sharp Zaurus
41	  SL-Cxx00 series (C1000, C3000, C3100).
42
43config LEDS_IXP4XX
44	tristate "LED Support for GPIO connected LEDs on IXP4XX processors"
45	depends on LEDS_CLASS && ARCH_IXP4XX
46	help
47	  This option enables support for the LEDs connected to GPIO
48	  outputs of the Intel IXP4XX processors.  To be useful the
49	  particular board must have LEDs and they must be connected
50	  to the GPIO lines.  If unsure, say Y.
51
52config LEDS_TOSA
53	tristate "LED Support for the Sharp SL-6000 series"
54	depends on LEDS_CLASS && PXA_SHARPSL
55	help
56	  This option enables support for the LEDs on Sharp Zaurus
57	  SL-6000 series.
58
59config LEDS_S3C24XX
60	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
61	depends on LEDS_CLASS && ARCH_S3C2410
62	help
63	  This option enables support for LEDs connected to GPIO lines
64	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
65
66config LEDS_AMS_DELTA
67	tristate "LED Support for the Amstrad Delta (E3)"
68	depends on LEDS_CLASS && MACH_AMS_DELTA
69	help
70	  This option enables support for the LEDs on Amstrad Delta (E3).
71
72config LEDS_NET48XX
73	tristate "LED Support for Soekris net48xx series Error LED"
74	depends on LEDS_CLASS && SCx200_GPIO
75	help
76	  This option enables support for the Soekris net4801 and net4826 error
77	  LED.
78
79config LEDS_WRAP
80	tristate "LED Support for the WRAP series LEDs"
81	depends on LEDS_CLASS && SCx200_GPIO
82	help
83	  This option enables support for the PCEngines WRAP programmable LEDs.
84
85config LEDS_H1940
86	tristate "LED Support for iPAQ H1940 device"
87	depends LEDS_CLASS && ARCH_H1940
88	help
89	  This option enables support for the LEDs on the h1940.
90
91config LEDS_COBALT
92	tristate "LED Support for Cobalt Server front LED"
93	depends on LEDS_CLASS && MIPS_COBALT
94	help
95	  This option enables support for the front LED on Cobalt Server
96
97comment "LED Triggers"
98
99config LEDS_TRIGGERS
100	bool "LED Trigger support"
101	depends on NEW_LEDS
102	help
103	  This option enables trigger support for the leds class.
104	  These triggers allow kernel events to drive the LEDs and can
105	  be configured via sysfs. If unsure, say Y.
106
107config LEDS_TRIGGER_TIMER
108	tristate "LED Timer Trigger"
109	depends on LEDS_TRIGGERS
110	help
111	  This allows LEDs to be controlled by a programmable timer
112	  via sysfs. If unsure, say Y.
113
114config LEDS_TRIGGER_IDE_DISK
115	bool "LED IDE Disk Trigger"
116	depends on LEDS_TRIGGERS && BLK_DEV_IDEDISK
117	help
118	  This allows LEDs to be controlled by IDE disk activity.
119	  If unsure, say Y.
120
121config LEDS_TRIGGER_HEARTBEAT
122	tristate "LED Heartbeat Trigger"
123	depends on LEDS_TRIGGERS
124	help
125	  This allows LEDs to be controlled by a CPU load average.
126	  The flash frequency is a hyperbolic function of the 1-minute
127	  load average.
128	  If unsure, say Y.
129
130endmenu
131
132