forked from Minki/linux
c3bc9956ec
Add support for LED triggers to the LED subsystem. "Triggers" are events which change the state of an LED. Two kinds of trigger are available, simple ones which can be added to exising code with minimum disruption and complex ones for implementing new or more complex functionality. 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>
27 lines
656 B
Plaintext
27 lines
656 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.
|
|
|
|
endmenu
|
|
|