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