aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-02-20 03:36:01 -0500
committerBryan Wu <cooloney@gmail.com>2013-04-01 14:04:48 -0400
commitf07fb52107c881f35eaff09fe990a4dfd0f7e62a (patch)
treeb4b338f39799781648b5c6e0782c9ad746733bca /drivers/leds/Kconfig
parentff45262a85dbf1bc74463c5dcea1d71a406d4d8e (diff)
leds: move LED trigger drivers into new subdirectory
For better driver management, new subdirectory, 'trigger' is created. All LED trigger drivers are moved into this directory. Internal header, 'leds.h' is included in each LED trigger drivers. Fix the location of header file, "leds.h" -> "../leds.h" in driver files. One exception is here, 'ledtrig-timer.c'. There is no need to include 'leds.h'. so '#include "leds.h"' line was removed. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig101
1 files changed, 1 insertions, 100 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index c7f755034375..d44806d41b44 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -479,106 +479,7 @@ config LEDS_BLINKM
479 This option enables support for the BlinkM RGB LED connected 479 This option enables support for the BlinkM RGB LED connected
480 through I2C. Say Y to enable support for the BlinkM LED. 480 through I2C. Say Y to enable support for the BlinkM LED.
481 481
482config LEDS_TRIGGERS
483 bool "LED Trigger support"
484 depends on LEDS_CLASS
485 help
486 This option enables trigger support for the leds class.
487 These triggers allow kernel events to drive the LEDs and can
488 be configured via sysfs. If unsure, say Y.
489
490comment "LED Triggers" 482comment "LED Triggers"
491 483source "drivers/leds/trigger/Kconfig"
492config LEDS_TRIGGER_TIMER
493 tristate "LED Timer Trigger"
494 depends on LEDS_TRIGGERS
495 help
496 This allows LEDs to be controlled by a programmable timer
497 via sysfs. Some LED hardware can be programmed to start
498 blinking the LED without any further software interaction.
499 For more details read Documentation/leds/leds-class.txt.
500
501 If unsure, say Y.
502
503config LEDS_TRIGGER_ONESHOT
504 tristate "LED One-shot Trigger"
505 depends on LEDS_TRIGGERS
506 help
507 This allows LEDs to blink in one-shot pulses with parameters
508 controlled via sysfs. It's useful to notify the user on
509 sporadic events, when there are no clear begin and end trap points,
510 or on dense events, where this blinks the LED at constant rate if
511 rearmed continuously.
512
513 It also shows how to use the led_blink_set_oneshot() function.
514
515 If unsure, say Y.
516
517config LEDS_TRIGGER_IDE_DISK
518 bool "LED IDE Disk Trigger"
519 depends on IDE_GD_ATA
520 depends on LEDS_TRIGGERS
521 help
522 This allows LEDs to be controlled by IDE disk activity.
523 If unsure, say Y.
524
525config LEDS_TRIGGER_HEARTBEAT
526 tristate "LED Heartbeat Trigger"
527 depends on LEDS_TRIGGERS
528 help
529 This allows LEDs to be controlled by a CPU load average.
530 The flash frequency is a hyperbolic function of the 1-minute
531 load average.
532 If unsure, say Y.
533
534config LEDS_TRIGGER_BACKLIGHT
535 tristate "LED backlight Trigger"
536 depends on LEDS_TRIGGERS
537 help
538 This allows LEDs to be controlled as a backlight device: they
539 turn off and on when the display is blanked and unblanked.
540
541 If unsure, say N.
542
543config LEDS_TRIGGER_CPU
544 bool "LED CPU Trigger"
545 depends on LEDS_TRIGGERS
546 help
547 This allows LEDs to be controlled by active CPUs. This shows
548 the active CPUs across an array of LEDs so you can see which
549 CPUs are active on the system at any given moment.
550
551 If unsure, say N.
552
553config LEDS_TRIGGER_GPIO
554 tristate "LED GPIO Trigger"
555 depends on LEDS_TRIGGERS
556 depends on GPIOLIB
557 help
558 This allows LEDs to be controlled by gpio events. It's good
559 when using gpios as switches and triggering the needed LEDs
560 from there. One use case is n810's keypad LEDs that could
561 be triggered by this trigger when user slides up to show
562 keypad.
563
564 If unsure, say N.
565
566config LEDS_TRIGGER_DEFAULT_ON
567 tristate "LED Default ON Trigger"
568 depends on LEDS_TRIGGERS
569 help
570 This allows LEDs to be initialised in the ON state.
571 If unsure, say Y.
572
573comment "iptables trigger is under Netfilter config (LED target)"
574 depends on LEDS_TRIGGERS
575
576config LEDS_TRIGGER_TRANSIENT
577 tristate "LED Transient Trigger"
578 depends on LEDS_TRIGGERS
579 help
580 This allows one time activation of a transient state on
581 GPIO/PWM based hardware.
582 If unsure, say Y.
583 484
584endif # NEW_LEDS 485endif # NEW_LEDS