leds: Add backlight LED trigger

This allows LEDs to be controlled as a backlight device where
they turn off and on when the display is blanked and unblanked.
This is useful where you need various key backlight LEDs to
dim at the same time as the backlight.

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Rodolfo Giometti
2008-10-13 09:25:24 +01:00
committed by Richard Purdie
parent 9e84561c8c
commit 132e9306be
3 changed files with 120 additions and 0 deletions
+9
View File
@@ -200,6 +200,15 @@ config LEDS_TRIGGER_HEARTBEAT
load average.
If unsure, say Y.
config LEDS_TRIGGER_BACKLIGHT
tristate "LED backlight Trigger"
depends on LEDS_TRIGGERS
help
This allows LEDs to be controlled as a backlight device: they
turn off and on when the display is blanked and unblanked.
If unsure, say N.
config LEDS_TRIGGER_DEFAULT_ON
tristate "LED Default ON Trigger"
depends on LEDS_TRIGGERS