1. 16 Dec, 2008 2 commits
    • Ben Dooks's avatar
      [ARM] S3C: Update time initialisation to fix S3C64XX time problems · 9d325f23
      Ben Dooks authored
      The S3C64XX timer is running at the wrong rate due to the
      assumptions made in the timer initialisation about the way
      the pwm dividers work. This means that time on the S3C64XX
      runs twice as fast as it should.
      
      Fix the problem by moving to using the clk framework to setup
      the pwm timer clock muxes, as the pwm-clock code has all the
      necessary knowledge of how the timer clock inputs are routed.
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      9d325f23
    • Ben Dooks's avatar
      [ARM] S3C64XX: Update TCFG for new timer divider settings. · b09bcdd4
      Ben Dooks authored
      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: default avatarBen Dooks <ben-linux@fluff.org>
      b09bcdd4
  2. 15 Dec, 2008 38 commits