1. 05 Nov, 2012 1 commit
  2. 13 Sep, 2012 1 commit
  3. 06 Sep, 2012 2 commits
  4. 08 May, 2012 1 commit
  5. 06 Feb, 2012 1 commit
  6. 20 Dec, 2011 1 commit
  7. 18 Dec, 2011 1 commit
  8. 21 Jul, 2011 1 commit
  9. 22 Feb, 2011 1 commit
    • Colin Cross's avatar
      ARM: tegra: clock: Round rate before setting rate · 421186e7
      Colin Cross authored
      
      Call the clock's round_rate op, if it exists, before calling
      the set_rate op.  This will help later when dvfs is added,
      dvfs needs to know what the final rate will be before the
      frequency changes.
      
      Also requires fixes to the round rate functions to ensure
      calling round rate and then set rate will not cause the
      frequency to be rounded down twice.  When picking clock
      divider values, the clock framework picks the closest
      frequency that is lower than the requested frequency.  If
      the new frequency calculated from the divider value is
      rounded down, and then passed to set_rate, it will get
      rounded down again, possibly resulting in a frequency two
      steps lower than the original requested frequency.
      
      Fix the problem by rounding up when calculating the frequency
      coming out of a clock divider, so if that frequency is
      requested again, the same divider value will be picked.
      Signed-off-by: default avatarColin Cross <ccross@android.com>
      Acked-by: default avatarOlof Johansson <olof@lixom.net>
      421186e7
  10. 21 Feb, 2011 6 commits
  11. 26 Nov, 2010 1 commit
  12. 22 Oct, 2010 1 commit
    • Colin Cross's avatar
      [ARM] tegra: clock: Add dvfs support, bug fixes, and cleanups · 71fc84cc
      Colin Cross authored
      
      - Add drivers to clock lookup table
      - Add new pll_m entries
      - Support I2C U16 divider
      - Fix rate reporting on 32.768kHz clock
      - Call propagate rate only if set_rate succeeds
      - Add support for audio_sync clock
      - Add 24MHz to PLLA frequency list
      - Correct i2s1/2/spdifout mux
      - Add suspend support
      - Fix enable/disable parent clocks in set_parent
      - Add max_rate parameter to all clocks
      - DVFS support
      - Add virtual cpu clock with dvfs
      - Support clk_round_rate
      - Fix requesting very high periph frequencies
      - Add quirks for PLLU:
         PLLU is slightly different from the rest of the PLLs.  The
         lock enable bit is at bit 22 instead of 18 in the MISC
         register, and the post divider field is a single bit with
         reversed values from other PLLs.
      - Simplify recalculating clock rates
      - Fix UART divider flags
      - Remove unused clock ops
      Signed-off-by: default avatarColin Cross <ccross@android.com>
      71fc84cc
  13. 05 Aug, 2010 1 commit
    • Colin Cross's avatar
      [ARM] tegra: Add clock support · d8611961
      Colin Cross authored
      
      v2: fixes from Russell King:
      	- include linux/io.h instead of asm/io.h
      	- fix whitespace in Kconfig
      	- Use spin_lock_init to initialize lock
      	- Return -ENOSYS instead of BUG for unimplemented clock ops
      	- Use proper return values in tegra2 clock ops
          additional changes:
      	- Rename some clocks to match dev_ids
      	- add rate propagation
      	- add debugfs entries
      	- add support for clock listed in clk_lookup under multiple dev_ids
      v3:
      	- Replace per-clock locking with global clock lock
      	- Autodetect clock state on init
      	- Let clock dividers pick next lower possible frequency
      	- Add support for clock init tables
      	- Minor bug fixes
      	- Fix checkpatch issues
      Signed-off-by: default avatarColin Cross <ccross@android.com>
      d8611961