diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-03-31 05:31:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-31 15:18:57 -0500 |
commit | 6655c6fe575b720eb8cb6c143ae10995a7aa1916 (patch) | |
tree | 72b36d5346ef1cdd50417b8b4accb4d5b58d003a /drivers/leds/Kconfig | |
parent | c3bc9956ec52fb2c70f29aa894d8eec766116584 (diff) |
[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/Kconfig | 7 |
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 | |||
22 | These triggers allow kernel events to drive the LEDs and can | 22 | These triggers allow kernel events to drive the LEDs and can |
23 | be configured via sysfs. If unsure, say Y. | 23 | be configured via sysfs. If unsure, say Y. |
24 | 24 | ||
25 | config LEDS_TRIGGER_TIMER | ||
26 | tristate "LED Timer Trigger" | ||
27 | depends LEDS_TRIGGERS | ||
28 | help | ||
29 | This allows LEDs to be controlled by a programmable timer | ||
30 | via sysfs. If unsure, say Y. | ||
31 | |||
25 | endmenu | 32 | endmenu |
26 | 33 | ||