diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-09-10 17:05:01 -0600 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-09-11 10:06:14 -0600 |
commit | ce32ddaa7087da7c9d43751db423281711a1ff2e (patch) | |
tree | 4918a9517b5e0175e2dbdf2a75b542f712d30aa7 /arch/arm/mach-tegra/tegra20_clocks.c | |
parent | 7a74a4436b20980f8e19138e857bc7e39db5ad4b (diff) | |
download | talos-obmc-linux-ce32ddaa7087da7c9d43751db423281711a1ff2e.tar.gz talos-obmc-linux-ce32ddaa7087da7c9d43751db423281711a1ff2e.zip |
ARM: tegra: cpu-tegra: explicitly manage re-parenting
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: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra20_clocks.c')
0 files changed, 0 insertions, 0 deletions