From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael =?UTF-8?B?QsO8c2No?= Subject: Re: [PATCH 00/22] Tahvo cleanups and Retu optimization Date: Mon, 11 Jul 2011 15:51:23 +0200 Message-ID: <20110711155123.23c33a13@maggie> References: <1310383055-20211-1-git-send-email-balbi@ti.com> <20110711132842.10606a31@maggie> <20110711131231.GB2680@legolas.emea.dhcp.ti.com> <20110711154126.082c1514@maggie> <20110711134551.GC2680@legolas.emea.dhcp.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from bues.ch ([80.190.117.144]:46829 "EHLO bues.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757316Ab1GKNvd convert rfc822-to-8bit (ORCPT ); Mon, 11 Jul 2011 09:51:33 -0400 In-Reply-To: <20110711134551.GC2680@legolas.emea.dhcp.ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: balbi@ti.com Cc: Tony Lindgren , Linux OMAP Mailing List On Mon, 11 Jul 2011 16:45:53 +0300 =46elipe Balbi wrote: > On Mon, Jul 11, 2011 at 03:41:26PM +0200, Michael B=C3=BCsch wrote: > > On Mon, 11 Jul 2011 16:12:32 +0300 > > Felipe Balbi wrote: > > > > Are you planning to implement a backlight driver for tahvo? I'm= actually > > > > using the functionality that you removed in this patchset in th= e OpenWRT > > > > distribution. > > >=20 > > > if you have some extra documentation available, I could implement= it > > > whenever I have some extra couple hours to play with this again..= =2E I > > > have no docs at all, but a led-tahvo.c would be really simple to = get > > > done :-) > >=20 > > All I have is the old code. No docs. It seems rather simple, though= =2E > > Only a PWM register. That's pretty straightforward. >=20 > 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" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html