aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/trigger/Kconfig
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2016-04-12 16:46:40 -0400
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-04-13 04:23:14 -0400
commit4b721174c7976f26300e39aa42714fb5a54bebb5 (patch)
tree9d5df9d97b9acafc7634025c33aba36e31ff9100 /drivers/leds/trigger/Kconfig
parent0c034fe37718990e0ffdd9622bd6cc5b4f93111f (diff)
leds: trigger: Introduce a MTD (NAND/NOR) trigger
This commit introduces a MTD trigger for flash (NAND/NOR) device activity. The implementation is copied from IDE disk. This trigger deprecates the "nand-disk" LED trigger, but for backwards compatibility, we still keep the "nand-disk" trigger around. The motivation for deprecating the "nand-disk" LED trigger is that it only works for NAND drivers, whereas the "mtd" LED trigger is more generic (in fact, "nand-disk" currently only works for certain NAND drivers). Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/trigger/Kconfig')
-rw-r--r--drivers/leds/trigger/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/leds/trigger/Kconfig b/drivers/leds/trigger/Kconfig
index 554f5bfbeced..beac8c31c51b 100644
--- a/drivers/leds/trigger/Kconfig
+++ b/drivers/leds/trigger/Kconfig
@@ -41,6 +41,14 @@ config LEDS_TRIGGER_IDE_DISK
41 This allows LEDs to be controlled by IDE disk activity. 41 This allows LEDs to be controlled by IDE disk activity.
42 If unsure, say Y. 42 If unsure, say Y.
43 43
44config LEDS_TRIGGER_MTD
45 bool "LED MTD (NAND/NOR) Trigger"
46 depends on MTD
47 depends on LEDS_TRIGGERS
48 help
49 This allows LEDs to be controlled by MTD activity.
50 If unsure, say N.
51
44config LEDS_TRIGGER_HEARTBEAT 52config LEDS_TRIGGER_HEARTBEAT
45 tristate "LED Heartbeat Trigger" 53 tristate "LED Heartbeat Trigger"
46 depends on LEDS_TRIGGERS 54 depends on LEDS_TRIGGERS