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