Re: [U-Boot] [PATCH v2 08/19] tegra: Add support for PWFM

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:35 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > The pulse width/frequency modulation peripheral supports generating > > a repeating pulse. It is useful for controlling LCD brightness. > > Surely this should be modeled as a driver

Re: [U-Boot] [PATCH v2 08/19] tegra: Add support for PWFM

2012-06-14 Thread Stephen Warren
On 06/13/2012 10:19 AM, Simon Glass wrote: > The pulse width/frequency modulation peripheral supports generating > a repeating pulse. It is useful for controlling LCD brightness. Surely this should be modeled as a driver that's instantiated from DT, which provides n PWMs. As such, I'd expect the d

[U-Boot] [PATCH v2 08/19] tegra: Add support for PWFM

2012-06-13 Thread Simon Glass
The pulse width/frequency modulation peripheral supports generating a repeating pulse. It is useful for controlling LCD brightness. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/Makefile |1 + arch/arm/cpu/armv7/tegra2/pwfm.c| 40 +++ arch/arm/i