mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
6655c6fe57
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>
34 lines
835 B
Plaintext
34 lines
835 B
Plaintext
|
|
menu "LED devices"
|
|
|
|
config NEW_LEDS
|
|
bool "LED Support"
|
|
help
|
|
Say Y to enable Linux LED support. This is not related to standard
|
|
keyboard LEDs which are controlled via the input system.
|
|
|
|
config LEDS_CLASS
|
|
tristate "LED Class Support"
|
|
depends NEW_LEDS
|
|
help
|
|
This option enables the led sysfs class in /sys/class/leds. You'll
|
|
need this to do anything useful with LEDs. If unsure, say N.
|
|
|
|
config LEDS_TRIGGERS
|
|
bool "LED Trigger support"
|
|
depends NEW_LEDS
|
|
help
|
|
This option enables trigger support for the leds class.
|
|
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
|
|
|