aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index db5e6a64c7cf..9c131f30757c 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -255,6 +255,19 @@ config LEDS_TRIGGER_BACKLIGHT
255 255
256 If unsure, say N. 256 If unsure, say N.
257 257
258config LEDS_TRIGGER_GPIO
259 tristate "LED GPIO Trigger"
260 depends on LEDS_TRIGGERS
261 depends on GPIOLIB
262 help
263 This allows LEDs to be controlled by gpio events. It's good
264 when using gpios as switches and triggering the needed LEDs
265 from there. One use case is n810's keypad LEDs that could
266 be triggered by this trigger when user slides up to show
267 keypad.
268
269 If unsure, say N.
270
258config LEDS_TRIGGER_DEFAULT_ON 271config LEDS_TRIGGER_DEFAULT_ON
259 tristate "LED Default ON Trigger" 272 tristate "LED Default ON Trigger"
260 depends on LEDS_TRIGGERS 273 depends on LEDS_TRIGGERS