summaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-03-31 12:31:07 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-31 22:18:57 +0200
commit6655c6fe575b720eb8cb6c143ae10995a7aa1916 (patch)
tree72b36d5346ef1cdd50417b8b4accb4d5b58d003a /drivers/leds/Kconfig
parent[PATCH] LED: add LED trigger tupport (diff)
downloadlinux-6655c6fe575b720eb8cb6c143ae10995a7aa1916.tar.xz
linux-6655c6fe575b720eb8cb6c143ae10995a7aa1916.zip
[PATCH] LED: add LED timer trigger
Add an example of a complex LED trigger in the form of a generic timer which triggers the LED its attached to at a user specified frequency and duty cycle. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index a4d12ecaf6a5..fda44df5921f 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -22,5 +22,12 @@ config LEDS_TRIGGERS
These triggers allow kernel events to drive the LEDs and can
be configured via sysfs. If unsure, say Y.
+config LEDS_TRIGGER_TIMER
+ tristate "LED Timer Trigger"
+ depends LEDS_TRIGGERS
+ help
+ This allows LEDs to be controlled by a programmable timer
+ via sysfs. If unsure, say Y.
+
endmenu