[PATCH v2] leds: Add arbitrary pattern trigger

2015-03-20 Thread Raphaël Teysseyre
"brightness duration" values. See detailled documentation in patch. Signed-off-by: Raphaël Teysseyre --- Documentation/leds/ledtrig-pattern.txt | 86 +++ drivers/leds/trigger/Kconfig | 10 + drivers/leds/trigger/Makefile |1 + drivers/leds/trigger/ledtrig-p

[PATCH] gpio/xilinx: Use correct address when setting initial values.

2015-06-23 Thread Raphaël Teysseyre
ent-Transfer-Encoding: 8bit Signed-off-by: Raphaël Teysseyre --- drivers/gpio/gpio-xilinx.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c index 61243d1..e544b7a 100644 --- a/drivers/gpio/gpio-xilinx.c +++ b/driv

[PATCH v2] gpio/xilinx: Use correct address when setting initial values.

2015-06-24 Thread Raphaël Teysseyre
ri" register), and the "tri" register value for channel 1 was written at 0x8 instead of 0xC. Signed-off-by: Raphaël Teysseyre --- drivers/gpio/gpio-xilinx.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c i

Re: [PATCH RFC] leds: Add status code trigger

2015-03-11 Thread Raphaël Teysseyre
Le mardi 10 mars 2015 à 20:22 +0100, Pavel Machek a écrit : > Hi! > > > This patch is very similar to mine patten trigger and all features are > > covered by my patch. > > If you are considering to take this feature, could you consider my patch > > instead? > > http://thread.gmane.org/gmane.linu

Re: [PATCH RFC] leds: Add status code trigger

2015-03-11 Thread Raphaël Teysseyre
> > For a heartbeat-like pattern : > > 0 1000 > > 255 100 > > 0 100 > > 255 100 > > That would be "slowly go to zero intensity, quickly go to max > intensity, to zero, to maximum". If you wanted to turn the LED on/off > without going thro

[PATCH] leds: Add arbitrary pattern trigger

2015-03-16 Thread Raphaël Teysseyre
imes. "pattern" specifies the pattern as comma separated couples of "brightness duration" values. See detailed documentation in patch. Signed-off-by: Raphaël Teysseyre --- Documentation/leds/ledtrig-pattern.txt | 80 +++ drivers/leds/trigger/Kconfig | 10 + d

Re: [PATCH] leds: Add arbitrary pattern trigger

2015-03-16 Thread Raphaël Teysseyre
> Got this while playing with my hid-sony patches: Sorry about that, it's me being dumb and using a mutex in an atomic context... Raphaël -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http: