aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorRodolfo Giometti <giometti@linux.it>2008-10-13 04:25:24 -0400
committerRichard Purdie <rpurdie@rpsys.net>2008-10-20 17:34:12 -0400
commit132e9306beedd049bc5de037f1996731a2ca3eed (patch)
tree74284b6fb45299ccbfa754e9297a33ad0f8ff322 /drivers/leds/Kconfig
parent9e84561c8c8671d9e58d1893cc524a71b20c9183 (diff)
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>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 14bb57b16593..2a72ce5c6d1f 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -200,6 +200,15 @@ config LEDS_TRIGGER_HEARTBEAT
200 load average. 200 load average.
201 If unsure, say Y. 201 If unsure, say Y.
202 202
203config LEDS_TRIGGER_BACKLIGHT
204 tristate "LED backlight Trigger"
205 depends on LEDS_TRIGGERS
206 help
207 This allows LEDs to be controlled as a backlight device: they
208 turn off and on when the display is blanked and unblanked.
209
210 If unsure, say N.
211
203config LEDS_TRIGGER_DEFAULT_ON 212config LEDS_TRIGGER_DEFAULT_ON
204 tristate "LED Default ON Trigger" 213 tristate "LED Default ON Trigger"
205 depends on LEDS_TRIGGERS 214 depends on LEDS_TRIGGERS