summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/tegra20_clocks_data.c
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2012-08-16 17:31:48 +0800
committerStephen Warren <swarren@nvidia.com>2012-09-13 11:41:05 -0600
commitdab403ef23f7561f7d77e0dc72dfd1be0fa333c1 (patch)
treecc2159d8851392b017beb1fe0e9127ff1b0fd618 /arch/arm/mach-tegra/tegra20_clocks_data.c
parentb4350f40f73b75efdceae3d9e04266979acabd8c (diff)
ARM: tegra: introduce tegra_cpu_car_ops structures
The tegra_cpu_car_ops provide the interface for CPU to control it's clock gating and reset status. The other drivers should use this for CPU control. And should not directly access CAR registers to control CPU. Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra20_clocks_data.c')
-rw-r--r--arch/arm/mach-tegra/tegra20_clocks_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra20_clocks_data.c b/arch/arm/mach-tegra/tegra20_clocks_data.c
index 1a35c003fba..e81dcd239c9 100644
--- a/arch/arm/mach-tegra/tegra20_clocks_data.c
+++ b/arch/arm/mach-tegra/tegra20_clocks_data.c
@@ -34,6 +34,7 @@
#include "fuse.h"
#include "tegra2_emc.h"
#include "tegra20_clocks.h"
+#include "tegra_cpu_car.h"
/* Clock definitions */
@@ -1139,4 +1140,5 @@ void __init tegra2_init_clocks(void)
}
init_audio_sync_clock_mux();
+ tegra20_cpu_car_ops_init();
}