[pwm-fixes] [ARM] S3C64XX: Update TCFG for new timer divider settings.

Ben Dooks ben-linux at fluff.org
Fri Nov 21 16:57:13 CET 2008

On Fri, Nov 21, 2008 at 01:49:17PM +0000, Andy Green wrote:
> Hash: SHA1
> Somebody in the thread at some point said:
> | The S3C64XX series has a new TCFG divider setting to allow the clock
> | directly through, which means that we need to update the pwm-clock
> | code to cope with this.
> |
> | Add <mach/pwm-clock.h> containing the specific code to deal with the
> | TCFG divider settings and provide any other per-arch data that the
> | pwm-clock driver needs to function.
> |
> | Signed-off-by: Ben Dooks <ben-linux at fluff.org>
> I rebased out of your git and the problem is solved... relatively simple
> sounding problem led to a lot of hard work on your part, thanks a lot.

There is sometimes a bit of a distance between doing things the right
way and just shoving #ifdef crap all over the place. It would have been
easier if the pwm-clock code had been correct and complete in the first


Q:      What's a light-year?
A:      One-third less calories than a regular year.

More information about the openmoko-kernel mailing list