]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - drivers/leds/Kconfig
Merge mainline v2.6.27-rc2 tree into linux-omap tree
[linux-2.6-omap-h63xx.git] / drivers / leds / Kconfig
1 menuconfig NEW_LEDS
2         bool "LED Support"
3         help
4           Say Y to enable Linux LED support.  This allows control of supported
5           LEDs from both userspace and optionally, by kernel events (triggers).
6
7           This is not related to standard keyboard LEDs which are controlled
8           via the input system.
9
10 if NEW_LEDS
11
12 config LEDS_CLASS
13         tristate "LED Class Support"
14         help
15           This option enables the led sysfs class in /sys/class/leds.  You'll
16           need this to do anything useful with LEDs.  If unsure, say N.
17
18 comment "LED drivers"
19
20 config LEDS_ATMEL_PWM
21         tristate "LED Support using Atmel PWM outputs"
22         depends on LEDS_CLASS && ATMEL_PWM
23         help
24           This option enables support for LEDs driven using outputs
25           of the dedicated PWM controller found on newer Atmel SOCs.
26
27 config LEDS_CORGI
28         tristate "LED Support for the Sharp SL-C7x0 series"
29         depends on LEDS_CLASS && PXA_SHARP_C7xx
30         help
31           This option enables support for the LEDs on Sharp Zaurus
32           SL-C7x0 series (C700, C750, C760, C860).
33
34 config LEDS_LOCOMO
35         tristate "LED Support for Locomo device"
36         depends on LEDS_CLASS && SHARP_LOCOMO
37         help
38           This option enables support for the LEDs on Sharp Locomo.
39           Zaurus models SL-5500 and SL-5600.
40
41 config LEDS_SPITZ
42         tristate "LED Support for the Sharp SL-Cxx00 series"
43         depends on LEDS_CLASS && PXA_SHARP_Cxx00
44         help
45           This option enables support for the LEDs on Sharp Zaurus
46           SL-Cxx00 series (C1000, C3000, C3100).
47
48 config LEDS_S3C24XX
49         tristate "LED Support for Samsung S3C24XX GPIO LEDs"
50         depends on LEDS_CLASS && ARCH_S3C2410
51         help
52           This option enables support for LEDs connected to GPIO lines
53           on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
54
55 config LEDS_AMS_DELTA
56         tristate "LED Support for the Amstrad Delta (E3)"
57         depends on LEDS_CLASS && MACH_AMS_DELTA
58         help
59           This option enables support for the LEDs on Amstrad Delta (E3).
60
61 config LEDS_NET48XX
62         tristate "LED Support for Soekris net48xx series Error LED"
63         depends on LEDS_CLASS && SCx200_GPIO
64         help
65           This option enables support for the Soekris net4801 and net4826 error
66           LED.
67
68 config LEDS_FSG
69         tristate "LED Support for the Freecom FSG-3"
70         depends on LEDS_CLASS && MACH_FSG
71         help
72           This option enables support for the LEDs on the Freecom FSG-3.
73
74 config LEDS_WRAP
75         tristate "LED Support for the WRAP series LEDs"
76         depends on LEDS_CLASS && SCx200_GPIO
77         help
78           This option enables support for the PCEngines WRAP programmable LEDs.
79
80 config LEDS_OMAP_DEBUG
81         boolean "LED Support for OMAP debug board LEDs"
82         depends on LEDS_CLASS=y && ARCH_OMAP
83         help
84           Enables support for the LEDs on the debug board used with OMAP
85           reference boards like H2/H3/H4 and Perseus2.  Up to six of these
86           may be claimed by the original ARM debug LED API.
87
88 config LEDS_OMAP
89         tristate "LED Support for OMAP GPIO LEDs"
90         depends on LEDS_CLASS && ARCH_OMAP
91         help
92           This option enables support for the LEDs on OMAP processors.
93
94 config LEDS_OMAP_PWM
95         tristate "LED Support for OMAP PWM-controlled LEDs"
96         depends on LEDS_CLASS && ARCH_OMAP && OMAP_DM_TIMER
97         help
98           This options enables support for LEDs connected to GPIO lines
99           controlled by a PWM timer on OMAP CPUs.
100
101 config LEDS_H1940
102         tristate "LED Support for iPAQ H1940 device"
103         depends on LEDS_CLASS && ARCH_H1940
104         help
105           This option enables support for the LEDs on the h1940.
106
107 config LEDS_COBALT_QUBE
108         tristate "LED Support for the Cobalt Qube series front LED"
109         depends on LEDS_CLASS && MIPS_COBALT
110         help
111           This option enables support for the front LED on Cobalt Qube series
112
113 config LEDS_COBALT_RAQ
114         bool "LED Support for the Cobalt Raq series"
115         depends on LEDS_CLASS && MIPS_COBALT
116         select LEDS_TRIGGERS
117         help
118           This option enables support for the Cobalt Raq series LEDs.
119
120 config LEDS_HP6XX
121         tristate "LED Support for the HP Jornada 6xx"
122         depends on LEDS_CLASS && SH_HP6XX
123         help
124           This option enables led support for the handheld
125           HP Jornada 620/660/680/690.
126
127 config LEDS_PCA9532
128         tristate "LED driver for PCA9532 dimmer"
129         depends on LEDS_CLASS && I2C && INPUT && EXPERIMENTAL
130         help
131           This option enables support for NXP pca9532
132           led controller. It is generally only usefull
133           as a platform driver
134
135 config LEDS_GPIO
136         tristate "LED Support for GPIO connected LEDs"
137         depends on LEDS_CLASS && GENERIC_GPIO
138         help
139           This option enables support for the LEDs connected to GPIO
140           outputs. To be useful the particular board must have LEDs
141           and they must be connected to the GPIO lines.
142
143 config LEDS_CM_X270
144         tristate "LED Support for the CM-X270 LEDs"
145         depends on LEDS_CLASS && MACH_ARMCORE
146         help
147           This option enables support for the CM-X270 LEDs.
148
149 config LEDS_CLEVO_MAIL
150         tristate "Mail LED on Clevo notebook (EXPERIMENTAL)"
151         depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI && EXPERIMENTAL
152         help
153           This driver makes the mail LED accessible from userspace
154           programs through the leds subsystem. This LED have three
155           known mode: off, blink at 0.5Hz and blink at 1Hz.
156
157           The driver supports two kinds of interface: using ledtrig-timer
158           or through /sys/class/leds/clevo::mail/brightness. As this LED
159           cannot change it's brightness it blinks instead. The brightness
160           value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
161           blink at 1Hz.
162
163           This module can drive the mail LED for the following notebooks:
164
165                 Clevo D400P
166                 Clevo D410J
167                 Clevo D410V
168                 Clevo D400V/D470V (not tested, but might work)
169                 Clevo M540N
170                 Clevo M5x0N (not tested, but might work)
171                 Positivo Mobile (Clevo M5x0V)
172
173           If your model is not listed here you can try the "nodetect"
174           module paramter.
175
176           To compile this driver as a module, choose M here: the
177           module will be called leds-clevo-mail.
178
179 config LEDS_PCA955X
180         tristate "LED Support for PCA955x I2C chips"
181         depends on LEDS_CLASS && I2C
182         help
183           This option enables support for LEDs connected to PCA955x
184           LED driver chips accessed via the I2C bus.  Supported
185           devices include PCA9550, PCA9551, PCA9552, and PCA9553.
186
187 comment "LED Triggers"
188
189 config LEDS_TRIGGERS
190         bool "LED Trigger support"
191         help
192           This option enables trigger support for the leds class.
193           These triggers allow kernel events to drive the LEDs and can
194           be configured via sysfs. If unsure, say Y.
195
196 config LEDS_TRIGGER_TIMER
197         tristate "LED Timer Trigger"
198         depends on LEDS_TRIGGERS
199         help
200           This allows LEDs to be controlled by a programmable timer
201           via sysfs. Some LED hardware can be programmed to start
202           blinking the LED without any further software interaction.
203           For more details read Documentation/leds-class.txt.
204
205           If unsure, say Y.
206
207 config LEDS_TRIGGER_IDE_DISK
208         bool "LED IDE Disk Trigger"
209         depends on LEDS_TRIGGERS && BLK_DEV_IDEDISK
210         help
211           This allows LEDs to be controlled by IDE disk activity.
212           If unsure, say Y.
213
214 config LEDS_TRIGGER_HEARTBEAT
215         tristate "LED Heartbeat Trigger"
216         depends on LEDS_TRIGGERS
217         help
218           This allows LEDs to be controlled by a CPU load average.
219           The flash frequency is a hyperbolic function of the 1-minute
220           load average.
221           If unsure, say Y.
222
223 config LEDS_TRIGGER_DEFAULT_ON
224         tristate "LED Default ON Trigger"
225         depends on LEDS_TRIGGERS
226         help
227           This allows LEDs to be initialised in the ON state.
228           If unsure, say Y.
229
230 endif # NEW_LEDS