On Mon, 11 Jul 2011 16:45:53 +0300
Felipe Balbi <[email protected]> wrote:

> On Mon, Jul 11, 2011 at 03:41:26PM +0200, Michael Büsch wrote:
> > On Mon, 11 Jul 2011 16:12:32 +0300
> > Felipe Balbi <[email protected]> wrote:
> > > > Are you planning to implement a backlight driver for tahvo? I'm actually
> > > > using the functionality that you removed in this patchset in the OpenWRT
> > > > distribution.
> > > 
> > > if you have some extra documentation available, I could implement it
> > > whenever I have some extra couple hours to play with this again... I
> > > have no docs at all, but a led-tahvo.c would be really simple to get
> > > done :-)
> > 
> > All I have is the old code. No docs. It seems rather simple, though.
> > Only a PWM register. That's pretty straightforward.
> 
> cool, any pointers would be good ;-)

Pointers to what? How PWM works?
http://en.wikipedia.org/wiki/Pulse_width_modulation

You probably don't need to know the details, though.
Just write a 0 to the register to turn the LED off. And write
a 0xF (or 0x7F depending on tahvo revision) to the register to
turn it fully on. Any value in between to dim the LED.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to