]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/leds/Kconfig
leds: Add gpio-led trigger
[linux-2.6-omap-h63xx.git] / drivers / leds / Kconfig
index db5e6a64c7cfe2eec8f739835751f482774fbd24..9c131f30757c56491cafde620f44a29dfe2cf8ca 100644 (file)
@@ -255,6 +255,19 @@ config LEDS_TRIGGER_BACKLIGHT
 
          If unsure, say N.
 
+config LEDS_TRIGGER_GPIO
+       tristate "LED GPIO Trigger"
+       depends on LEDS_TRIGGERS
+       depends on GPIOLIB
+       help
+         This allows LEDs to be controlled by gpio events. It's good
+         when using gpios as switches and triggering the needed LEDs
+         from there. One use case is n810's keypad LEDs that could
+         be triggered by this trigger when user slides up to show
+         keypad.
+
+         If unsure, say N.
+
 config LEDS_TRIGGER_DEFAULT_ON
        tristate "LED Default ON Trigger"
        depends on LEDS_TRIGGERS