[PATCH v3 1/1] leds: Add LED pattern trigger

2014-01-06 Thread lgxue
From: Joe Xue The LED pattern trigger allows LEDs blink in user defined pattern. v2: Change the pattern memory from fixed static to malloc Change the timer schedule way to save cpu time Add the mutex to protect the pattern operation v3: Tiny fix, add the missed parameter in example of d

[PATCH] Add the LED burst trigger

2013-12-26 Thread lgxue
From: Joe Xue As per Geert's suggestion, change the HZ to Hz Allow LEDs blink in burst mode. Three parameters are exported to sysfs: freq, delay_off and times. new file: Documentation/leds/ledtrig-burst.txt modified: drivers/leds/trigger/Kconfig modified: drivers/l

[PATCH] Add the LED burst trigger

2013-12-24 Thread lgxue
From: Joe Xue Allow LEDs blink in burst mode. Three parameters are exported to sysfs: freq, delay_off and times. new file: Documentation/leds/ledtrig-burst.txt modified: drivers/leds/trigger/Kconfig modified: drivers/leds/trigger/Makefile new file: drivers