[PATCH] mx3: Enable PWM clock on mx31 and mx35

Radoslav Kolev radoslav.kolev at rnd.bg
Fri Oct 22 08:26:17 EDT 2010


On Fri, 2010-10-22 at 14:03 +0200, Eric Bénard wrote:
> Hi Fabio,
> 
> Le 22/10/2010 13:13, Fabio Estevam a écrit :
> > mx3: Enable PWM clock on mx31 and mx35.
> >
> Are you sure this in needed as when using the pwm.c driver in plat-mxc there 
> are pwm_enable and pwm_disable functions ?
> 
> With your patch, platforms without PWM will have the pwm clock enabled.

Fabio, sorry if I have mislead you.

I wasn't properly using the plat-mxc/pwm.c driver (and hence the
enable/disable functions were not getting called). I was just mucking
about with the registers directly, first from userspace and then by
putting some code in the driver probe function. So it was really strange
for me that I couldn't do any writes.

If the plat-mxc/pwm.c driver is used properly I guess this patch won't
be needed.

Regards,
Radoslav Kolev




More information about the linux-arm-kernel mailing list