1. 11 Sep, 2012 2 commits
    • Stephen Warren's avatar
      ARM: tegra: cpu-tegra: explicitly manage re-parenting · ce32ddaa
      Stephen Warren authored
      When changing a PLL's rate, it must have no active children. The CPU
      clock cannot be stopped, and CPU clock's divider is not used. The old
      clock driver used to handle this by internally reparenting the CPU clock
      onto a different PLL when changing the CPU clock rate. However, the new
      common-clock based clock driver does not do this, and probably cannot do
      this due to the locking issues it would cause.
      
      To solve this, have the Tegra cpufreq driver explicitly perform the
      reparenting operations itself. This is probably reasonable anyway,
      since such reparenting is somewhat a matter of policy (e.g. which
      alternate clock source to use, whether to leave the CPU clock a child
      of the alternate clock source if it's running at the desired rate),
      and hence is something more appropriate for the cpufreq driver than
      the core clock driver anyway.
      
      Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
      Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      ce32ddaa
    • Stephen Warren's avatar
      ARM: tegra: fix overflow in tegra20_pll_clk_round_rate() · 7a74a443
      Stephen Warren authored
      32-bit math isn't enough when e.g. *prate=12000000, and sel->n=1000.
      Use 64-bit math to prevent this.
      
      Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      7a74a443
  2. 07 Sep, 2012 1 commit
    • Prashant Gaikwad's avatar
      ARM: tegra: Fix data type for io address · fa67ccb6
      Prashant Gaikwad authored
      Warnings were generated because following commit changed data type for
      address pointer
      
      195bbca ARM: 7500/1: io: avoid writeback addressing modes for __raw_ accessors
      
      arch/arm/mach-tegra/tegra30_clocks.c: In function 'clk_measure_input_freq':
      arch/arm/mach-tegra/tegra30_clocks.c:418:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      .../arch/arm/include/asm/io.h:88:20: note: expected 'volatile void *' but argument is of type 'unsigned int
      Signed-off-by: default avatarPrashant Gaikwad <pgaikwad@nvidia.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      fa67ccb6
  3. 06 Sep, 2012 11 commits
  4. 01 Sep, 2012 5 commits
  5. 30 Aug, 2012 5 commits
  6. 29 Aug, 2012 16 commits