summaryrefslogtreecommitdiff
path: root/drivers/leds/trigger/Makefile
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-10-11 12:07:14 +0800
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-10-11 21:55:58 +0200
commit5fd752b6b3a2233972ce1726df8bdb40886113a9 (patch)
tree6144ef6eee8ab1db8604de39dd311fae5e22861f /drivers/leds/trigger/Makefile
parent2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9 (diff)
leds: core: Introduce LED pattern trigger
This patch adds a new LED trigger that LED device can configure to employ software or hardware pattern engine. Consumers can write 'pattern' file to enable the software pattern which alters the brightness for the specified duration with one software timer. Moreover consumers can write 'hw_pattern' file to enable the hardware pattern for some LED controllers which can autonomously control brightness over time, according to some preprogrammed hardware patterns. Signed-off-by: Raphael Teysseyre <rteysseyre@gmail.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/trigger/Makefile')
-rw-r--r--drivers/leds/trigger/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/trigger/Makefile b/drivers/leds/trigger/Makefile
index f3cfe1950538..9bcb64ee8123 100644
--- a/drivers/leds/trigger/Makefile
+++ b/drivers/leds/trigger/Makefile
@@ -13,3 +13,4 @@ obj-$(CONFIG_LEDS_TRIGGER_TRANSIENT) += ledtrig-transient.o
obj-$(CONFIG_LEDS_TRIGGER_CAMERA) += ledtrig-camera.o
obj-$(CONFIG_LEDS_TRIGGER_PANIC) += ledtrig-panic.o
obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o
+obj-$(CONFIG_LEDS_TRIGGER_PATTERN) += ledtrig-pattern.o