Re: RGB LED control (was Re: advanced LED controllers)

2015-03-10 Thread Pavel Machek
On Mon 2015-03-09 11:50:56, Måns Rullgård wrote: Geert Uytterhoeven ge...@linux-m68k.org writes: Hi Pavel, On Sun, Mar 8, 2015 at 9:57 PM, Pavel Machek pa...@ucw.cz wrote: Ok, so I played with RGB LED a bit, and we have quite a gap in documentation: what 50% brightness means is

Re: RGB LED control (was Re: advanced LED controllers)

2015-03-09 Thread Måns Rullgård
Geert Uytterhoeven ge...@linux-m68k.org writes: Hi Pavel, On Sun, Mar 8, 2015 at 9:57 PM, Pavel Machek pa...@ucw.cz wrote: Ok, so I played with RGB LED a bit, and we have quite a gap in documentation: what 50% brightness means is non-trivial and very important in case we want to do smooth

Re: RGB LED control (was Re: advanced LED controllers)

2015-03-09 Thread Geert Uytterhoeven
Hi Pavel, On Sun, Mar 8, 2015 at 9:57 PM, Pavel Machek pa...@ucw.cz wrote: Ok, so I played with RGB LED a bit, and we have quite a gap in documentation: what 50% brightness means is non-trivial and very important in case we want to do smooth blinking and color transitions. Signed-off-by:

Re: RGB LED control (was Re: advanced LED controllers)

2015-03-09 Thread Pavel Machek
On Mon 2015-03-09 09:08:37, Geert Uytterhoeven wrote: Hi Pavel, On Sun, Mar 8, 2015 at 9:57 PM, Pavel Machek pa...@ucw.cz wrote: Ok, so I played with RGB LED a bit, and we have quite a gap in documentation: what 50% brightness means is non-trivial and very important in case we want to do

RGB LED control (was Re: advanced LED controllers)

2015-03-08 Thread Pavel Machek
Ok, so I played with RGB LED a bit, and we have quite a gap in documentation: what 50% brightness means is non-trivial and very important in case we want to do smooth blinking and color transitions. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git a/Documentation/ABI/testing/sysfs-class-led

Re: advanced LED controllers

2015-03-03 Thread Alexandre Courbot
On Mon, Mar 2, 2015 at 6:21 PM, Pavel Machek pa...@ucw.cz wrote: On Wed 2015-02-25 18:06:07, Alexandre Courbot wrote: On Wed, Feb 25, 2015 at 5:25 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: CC linux-gpio, as this looks like the LED equivalent of bulk gpio? Indeed. The LED core could

Re: advanced LED controllers

2015-03-02 Thread Pavel Machek
On Wed 2015-02-25 18:06:07, Alexandre Courbot wrote: On Wed, Feb 25, 2015 at 5:25 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: CC linux-gpio, as this looks like the LED equivalent of bulk gpio? Indeed. The LED core could implement something similar to gpiod_set_array() to allow

Re: advanced LED controllers

2015-02-28 Thread Pavel Machek
Hi! On Thu 2015-02-26 10:55:52, NeilBrown wrote: On Wed, 25 Feb 2015 22:49:41 +0100 Pavel Machek pa...@ucw.cz wrote: On Mon 2015-02-23 16:58:36, Felipe Balbi wrote: On Mon, Feb 23, 2015 at 11:34:57PM +0100, Pavel Machek wrote: On Thu 2015-02-19 15:14:24, Felipe Balbi wrote: Hi,

Re: advanced LED controllers

2015-02-25 Thread Pavel Machek
On Mon 2015-02-23 16:58:36, Felipe Balbi wrote: On Mon, Feb 23, 2015 at 11:34:57PM +0100, Pavel Machek wrote: On Thu 2015-02-19 15:14:24, Felipe Balbi wrote: Hi, Do we have support for LED controllers which can handle patterns of different kinds ? I mean, currently, if we have an

Re: advanced LED controllers

2015-02-25 Thread NeilBrown
On Wed, 25 Feb 2015 22:49:41 +0100 Pavel Machek pa...@ucw.cz wrote: On Mon 2015-02-23 16:58:36, Felipe Balbi wrote: On Mon, Feb 23, 2015 at 11:34:57PM +0100, Pavel Machek wrote: On Thu 2015-02-19 15:14:24, Felipe Balbi wrote: Hi, Do we have support for LED controllers which can

Re: advanced LED controllers

2015-02-25 Thread Alexandre Courbot
On Wed, Feb 25, 2015 at 5:25 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: CC linux-gpio, as this looks like the LED equivalent of bulk gpio? Indeed. The LED core could implement something similar to gpiod_set_array() to allow several LEDs to be set in one call. If the controller supports

Re: advanced LED controllers

2015-02-25 Thread Geert Uytterhoeven
CC linux-gpio, as this looks like the LED equivalent of bulk gpio? On Thu, Feb 19, 2015 at 10:14 PM, Felipe Balbi ba...@ti.com wrote: Do we have support for LED controllers which can handle patterns of different kinds ? I mean, currently, if we have an LED controller such as TPIC2810 [1] which

Re: advanced LED controllers

2015-02-23 Thread Felipe Balbi
On Mon, Feb 23, 2015 at 11:34:57PM +0100, Pavel Machek wrote: On Thu 2015-02-19 15:14:24, Felipe Balbi wrote: Hi, Do we have support for LED controllers which can handle patterns of different kinds ? I mean, currently, if we have an LED controller such as TPIC2810 [1] which can control

Re: advanced LED controllers

2015-02-23 Thread Pavel Machek
On Thu 2015-02-19 15:14:24, Felipe Balbi wrote: Hi, Do we have support for LED controllers which can handle patterns of different kinds ? I mean, currently, if we have an LED controller such as TPIC2810 [1] which can control 8 different leds and each LED corresponds to one bit on register

advanced LED controllers

2015-02-19 Thread Felipe Balbi
Hi, Do we have support for LED controllers which can handle patterns of different kinds ? I mean, currently, if we have an LED controller such as TPIC2810 [1] which can control 8 different leds and each LED corresponds to one bit on register 0x44, we could control leds by just playing a wave file