Merge branch 'spear/pcie-support-v10' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git] / drivers / leds / Kconfig
1 config LEDS_GPIO_REGISTER
2         bool
3         help
4           This option provides the function gpio_led_register_device.
5           As this function is used by arch code it must not be compiled as a
6           module.
7
8 menuconfig NEW_LEDS
9         bool "LED Support"
10         help
11           Say Y to enable Linux LED support.  This allows control of supported
12           LEDs from both userspace and optionally, by kernel events (triggers).
13
14           This is not related to standard keyboard LEDs which are controlled
15           via the input system.
16
17 if NEW_LEDS
18
19 config LEDS_CLASS
20         tristate "LED Class Support"
21         help
22           This option enables the led sysfs class in /sys/class/leds.  You'll
23           need this to do anything useful with LEDs.  If unsure, say N.
24
25 comment "LED drivers"
26
27 config LEDS_88PM860X
28         tristate "LED Support for Marvell 88PM860x PMIC"
29         depends on LEDS_CLASS
30         depends on MFD_88PM860X
31         help
32           This option enables support for on-chip LED drivers found on Marvell
33           Semiconductor 88PM8606 PMIC.
34
35 config LEDS_LM3530
36         tristate "LCD Backlight driver for LM3530"
37         depends on LEDS_CLASS
38         depends on I2C
39         help
40           This option enables support for the LCD backlight using
41           LM3530 ambient light sensor chip. This ALS chip can be
42           controlled manually or using PWM input or using ambient
43           light automatically.
44
45 config LEDS_LM3533
46         tristate "LED support for LM3533"
47         depends on LEDS_CLASS
48         depends on MFD_LM3533
49         help
50           This option enables support for the LEDs on National Semiconductor /
51           TI LM3533 Lighting Power chips.
52
53           The LEDs can be controlled directly, through PWM input, or by the
54           ambient-light-sensor interface. The chip supports
55           hardware-accelerated blinking with maximum on and off periods of 9.8
56           and 77 seconds respectively.
57
58 config LEDS_LM3642
59         tristate "LED support for LM3642 Chip"
60         depends on LEDS_CLASS && I2C
61         select REGMAP_I2C
62         help
63           This option enables support for LEDs connected to LM3642.
64           The LM3642 is a 4MHz fixed-frequency synchronous boost
65           converter plus 1.5A constant current driver for a high-current
66           white LED.
67
68
69 config LEDS_LOCOMO
70         tristate "LED Support for Locomo device"
71         depends on LEDS_CLASS
72         depends on SHARP_LOCOMO
73         help
74           This option enables support for the LEDs on Sharp Locomo.
75           Zaurus models SL-5500 and SL-5600.
76
77 config LEDS_MIKROTIK_RB532
78         tristate "LED Support for Mikrotik Routerboard 532"
79         depends on LEDS_CLASS
80         depends on MIKROTIK_RB532
81         help
82           This option enables support for the so called "User LED" of
83           Mikrotik's Routerboard 532.
84
85 config LEDS_S3C24XX
86         tristate "LED Support for Samsung S3C24XX GPIO LEDs"
87         depends on LEDS_CLASS
88         depends on ARCH_S3C24XX
89         help
90           This option enables support for LEDs connected to GPIO lines
91           on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
92
93 config LEDS_NET48XX
94         tristate "LED Support for Soekris net48xx series Error LED"
95         depends on LEDS_CLASS
96         depends on SCx200_GPIO
97         help
98           This option enables support for the Soekris net4801 and net4826 error
99           LED.
100
101 config LEDS_FSG
102         tristate "LED Support for the Freecom FSG-3"
103         depends on LEDS_CLASS
104         depends on MACH_FSG
105         help
106           This option enables support for the LEDs on the Freecom FSG-3.
107
108 config LEDS_WRAP
109         tristate "LED Support for the WRAP series LEDs"
110         depends on LEDS_CLASS
111         depends on SCx200_GPIO
112         help
113           This option enables support for the PCEngines WRAP programmable LEDs.
114
115 config LEDS_COBALT_QUBE
116         tristate "LED Support for the Cobalt Qube series front LED"
117         depends on LEDS_CLASS
118         depends on MIPS_COBALT
119         help
120           This option enables support for the front LED on Cobalt Qube series
121
122 config LEDS_COBALT_RAQ
123         bool "LED Support for the Cobalt Raq series"
124         depends on LEDS_CLASS=y && MIPS_COBALT
125         select LEDS_TRIGGERS
126         help
127           This option enables support for the Cobalt Raq series LEDs.
128
129 config LEDS_SUNFIRE
130         tristate "LED support for SunFire servers."
131         depends on LEDS_CLASS
132         depends on SPARC64
133         select LEDS_TRIGGERS
134         help
135           This option enables support for the Left, Middle, and Right
136           LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
137
138 config LEDS_HP6XX
139         tristate "LED Support for the HP Jornada 6xx"
140         depends on LEDS_CLASS
141         depends on SH_HP6XX
142         help
143           This option enables LED support for the handheld
144           HP Jornada 620/660/680/690.
145
146 config LEDS_PCA9532
147         tristate "LED driver for PCA9532 dimmer"
148         depends on LEDS_CLASS
149         depends on I2C && INPUT
150         help
151           This option enables support for NXP pca9532
152           LED controller. It is generally only useful
153           as a platform driver
154
155 config LEDS_PCA9532_GPIO
156         bool "Enable GPIO support for PCA9532"
157         depends on LEDS_PCA9532
158         depends on GPIOLIB
159         help
160           Allow unused pins on PCA9532 to be used as gpio.
161
162           To use a pin as gpio pca9532_type in pca9532_platform data needs to
163           set to PCA9532_TYPE_GPIO.
164
165 config LEDS_GPIO
166         tristate "LED Support for GPIO connected LEDs"
167         depends on LEDS_CLASS
168         depends on GPIOLIB
169         help
170           This option enables support for the LEDs connected to GPIO
171           outputs. To be useful the particular board must have LEDs
172           and they must be connected to the GPIO lines.  The LEDs must be
173           defined as platform devices and/or OpenFirmware platform devices.
174           The code to use these bindings can be selected below.
175
176 config LEDS_LP3944
177         tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
178         depends on LEDS_CLASS
179         depends on I2C
180         help
181           This option enables support for LEDs connected to the National
182           Semiconductor LP3944 Lighting Management Unit (LMU) also known as
183           Fun Light Chip.
184
185           To compile this driver as a module, choose M here: the
186           module will be called leds-lp3944.
187
188 config LEDS_LP55XX_COMMON
189         tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501"
190         depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501
191         select FW_LOADER
192         help
193           This option supports common operations for LP5521/5523/55231/5562/8501
194           devices.
195
196 config LEDS_LP5521
197         tristate "LED Support for N.S. LP5521 LED driver chip"
198         depends on LEDS_CLASS && I2C
199         select LEDS_LP55XX_COMMON
200         help
201           If you say yes here you get support for the National Semiconductor
202           LP5521 LED driver. It is 3 channel chip with programmable engines.
203           Driver provides direct control via LED class and interface for
204           programming the engines.
205
206 config LEDS_LP5523
207         tristate "LED Support for TI/National LP5523/55231 LED driver chip"
208         depends on LEDS_CLASS && I2C
209         select LEDS_LP55XX_COMMON
210         help
211           If you say yes here you get support for TI/National Semiconductor
212           LP5523/55231 LED driver.
213           It is 9 channel chip with programmable engines.
214           Driver provides direct control via LED class and interface for
215           programming the engines.
216
217 config LEDS_LP5562
218         tristate "LED Support for TI LP5562 LED driver chip"
219         depends on LEDS_CLASS && I2C
220         select LEDS_LP55XX_COMMON
221         help
222           If you say yes here you get support for TI LP5562 LED driver.
223           It is 4 channels chip with programmable engines.
224           Driver provides direct control via LED class and interface for
225           programming the engines.
226
227 config LEDS_LP8501
228         tristate "LED Support for TI LP8501 LED driver chip"
229         depends on LEDS_CLASS && I2C
230         select LEDS_LP55XX_COMMON
231         help
232           If you say yes here you get support for TI LP8501 LED driver.
233           It is 9 channel chip with programmable engines.
234           Driver provides direct control via LED class and interface for
235           programming the engines.
236           It is similar as LP5523, but output power selection is available.
237           And register layout and engine program schemes are different.
238
239 config LEDS_LP8788
240         tristate "LED support for the TI LP8788 PMIC"
241         depends on LEDS_CLASS
242         depends on MFD_LP8788
243         help
244           This option enables support for the Keyboard LEDs on the LP8788 PMIC.
245
246 config LEDS_CLEVO_MAIL
247         tristate "Mail LED on Clevo notebook"
248         depends on LEDS_CLASS
249         depends on X86 && SERIO_I8042 && DMI
250         help
251           This driver makes the mail LED accessible from userspace
252           programs through the leds subsystem. This LED have three
253           known mode: off, blink at 0.5Hz and blink at 1Hz.
254
255           The driver supports two kinds of interface: using ledtrig-timer
256           or through /sys/class/leds/clevo::mail/brightness. As this LED
257           cannot change it's brightness it blinks instead. The brightness
258           value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
259           blink at 1Hz.
260
261           This module can drive the mail LED for the following notebooks:
262
263                 Clevo D400P
264                 Clevo D410J
265                 Clevo D410V
266                 Clevo D400V/D470V (not tested, but might work)
267                 Clevo M540N
268                 Clevo M5x0N (not tested, but might work)
269                 Positivo Mobile (Clevo M5x0V)
270
271           If your model is not listed here you can try the "nodetect"
272           module parameter.
273
274           To compile this driver as a module, choose M here: the
275           module will be called leds-clevo-mail.
276
277 config LEDS_PCA955X
278         tristate "LED Support for PCA955x I2C chips"
279         depends on LEDS_CLASS
280         depends on I2C
281         help
282           This option enables support for LEDs connected to PCA955x
283           LED driver chips accessed via the I2C bus.  Supported
284           devices include PCA9550, PCA9551, PCA9552, and PCA9553.
285
286 config LEDS_PCA963X
287         tristate "LED support for PCA963x I2C chip"
288         depends on LEDS_CLASS
289         depends on I2C
290         help
291           This option enables support for LEDs connected to the PCA963x
292           LED driver chip accessed via the I2C bus. Supported
293           devices include PCA9633 and PCA9634
294
295 config LEDS_WM831X_STATUS
296         tristate "LED support for status LEDs on WM831x PMICs"
297         depends on LEDS_CLASS
298         depends on MFD_WM831X
299         help
300           This option enables support for the status LEDs of the WM831x
301           series of PMICs.
302
303 config LEDS_WM8350
304         tristate "LED Support for WM8350 AudioPlus PMIC"
305         depends on LEDS_CLASS
306         depends on MFD_WM8350
307         help
308           This option enables support for LEDs driven by the Wolfson
309           Microelectronics WM8350 AudioPlus PMIC.
310
311 config LEDS_DA903X
312         tristate "LED Support for DA9030/DA9034 PMIC"
313         depends on LEDS_CLASS
314         depends on PMIC_DA903X
315         help
316           This option enables support for on-chip LED drivers found
317           on Dialog Semiconductor DA9030/DA9034 PMICs.
318
319 config LEDS_DA9052
320         tristate "Dialog DA9052/DA9053 LEDS"
321         depends on LEDS_CLASS
322         depends on PMIC_DA9052
323         help
324           This option enables support for on-chip LED drivers found
325           on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
326
327 config LEDS_DAC124S085
328         tristate "LED Support for DAC124S085 SPI DAC"
329         depends on LEDS_CLASS
330         depends on SPI
331         help
332           This option enables support for DAC124S085 SPI DAC from NatSemi,
333           which can be used to control up to four LEDs.
334
335 config LEDS_PWM
336         tristate "PWM driven LED Support"
337         depends on LEDS_CLASS
338         depends on PWM
339         help
340           This option enables support for pwm driven LEDs
341
342 config LEDS_REGULATOR
343         tristate "REGULATOR driven LED support"
344         depends on LEDS_CLASS
345         depends on REGULATOR
346         help
347           This option enables support for regulator driven LEDs.
348
349 config LEDS_BD2802
350         tristate "LED driver for BD2802 RGB LED"
351         depends on LEDS_CLASS
352         depends on I2C
353         help
354           This option enables support for BD2802GU RGB LED driver chips
355           accessed via the I2C bus.
356
357 config LEDS_INTEL_SS4200
358         tristate "LED driver for Intel NAS SS4200 series"
359         depends on LEDS_CLASS
360         depends on PCI && DMI
361         help
362           This option enables support for the Intel SS4200 series of
363           Network Attached Storage servers.  You may control the hard
364           drive or power LEDs on the front panel.  Using this driver
365           can stop the front LED from blinking after startup.
366
367 config LEDS_LT3593
368         tristate "LED driver for LT3593 controllers"
369         depends on LEDS_CLASS
370         depends on GPIOLIB
371         help
372           This option enables support for LEDs driven by a Linear Technology
373           LT3593 controller. This controller uses a special one-wire pulse
374           coding protocol to set the brightness.
375
376 config LEDS_ADP5520
377         tristate "LED Support for ADP5520/ADP5501 PMIC"
378         depends on LEDS_CLASS
379         depends on PMIC_ADP5520
380         help
381           This option enables support for on-chip LED drivers found
382           on Analog Devices ADP5520/ADP5501 PMICs.
383
384           To compile this driver as a module, choose M here: the module will
385           be called leds-adp5520.
386
387 config LEDS_DELL_NETBOOKS
388         tristate "External LED on Dell Business Netbooks"
389         depends on LEDS_CLASS
390         depends on X86 && ACPI_WMI
391         help
392           This adds support for the Latitude 2100 and similar
393           notebooks that have an external LED.
394
395 config LEDS_MC13783
396         tristate "LED Support for MC13XXX PMIC"
397         depends on LEDS_CLASS
398         depends on MFD_MC13XXX
399         help
400           This option enable support for on-chip LED drivers found
401           on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
402
403 config LEDS_NS2
404         tristate "LED support for Network Space v2 GPIO LEDs"
405         depends on LEDS_CLASS
406         depends on ARCH_KIRKWOOD || MACH_KIRKWOOD
407         default y
408         help
409           This option enable support for the dual-GPIO LED found on the
410           Network Space v2 board (and parents). This include Internet Space v2,
411           Network Space (Max) v2 and d2 Network v2 boards.
412
413 config LEDS_NETXBIG
414         tristate "LED support for Big Network series LEDs"
415         depends on LEDS_CLASS
416         depends on ARCH_KIRKWOOD || MACH_KIRKWOOD
417         default y
418         help
419           This option enable support for LEDs found on the LaCie 2Big
420           and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
421           controlled through a GPIO extension bus.
422
423 config LEDS_ASIC3
424         bool "LED support for the HTC ASIC3"
425         depends on LEDS_CLASS=y
426         depends on MFD_ASIC3
427         default y
428         help
429           This option enables support for the LEDs on the HTC ASIC3. The HTC
430           ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
431           cannot be used. This driver supports hardware blinking with an on+off
432           period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
433
434 config LEDS_TCA6507
435         tristate "LED Support for TCA6507 I2C chip"
436         depends on LEDS_CLASS && I2C
437         help
438           This option enables support for LEDs connected to TC6507
439           LED driver chips accessed via the I2C bus.
440           Driver support brightness control and hardware-assisted blinking.
441
442 config LEDS_MAX8997
443         tristate "LED support for MAX8997 PMIC"
444         depends on LEDS_CLASS && MFD_MAX8997
445         help
446           This option enables support for on-chip LED drivers on
447           MAXIM MAX8997 PMIC.
448
449 config LEDS_LM355x
450         tristate "LED support for LM355x Chips, LM3554 and LM3556"
451         depends on LEDS_CLASS && I2C
452         select REGMAP_I2C
453         help
454           This option enables support for LEDs connected to LM355x.
455           LM355x includes Torch, Flash and Indicator functions.
456
457 config LEDS_OT200
458         tristate "LED support for the Bachmann OT200"
459         depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
460         help
461           This option enables support for the LEDs on the Bachmann OT200.
462           Say Y to enable LEDs on the Bachmann OT200.
463
464 comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
465
466 config LEDS_BLINKM
467         tristate "LED support for the BlinkM I2C RGB LED"
468         depends on LEDS_CLASS
469         depends on I2C
470         help
471           This option enables support for the BlinkM RGB LED connected
472           through I2C. Say Y to enable support for the BlinkM LED.
473
474 config LEDS_VERSATILE
475         tristate "LED support for the ARM Versatile and RealView"
476         depends on ARCH_REALVIEW || ARCH_VERSATILE
477         depends on LEDS_CLASS
478         help
479           This option enabled support for the LEDs on the ARM Versatile
480           and RealView boards. Say Y to enabled these.
481
482 comment "LED Triggers"
483 source "drivers/leds/trigger/Kconfig"
484
485 endif # NEW_LEDS