ARM: tegra: enable tegra30 clock framework
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Mon, 9 Jan 2012 05:35:13 +0000 (05:35 +0000)
committerOlof Johansson <olof@lixom.net>
Mon, 6 Feb 2012 17:16:15 +0000 (09:16 -0800)
Add init calls for clocks on tegra30.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/common.c

index e120ff54f66377667928e5d2aa26583865782aef..b2ac1089651b92cedecedba1c0f4c352cec52189 100644 (file)
@@ -13,6 +13,7 @@ obj-$(CONFIG_ARCH_TEGRA_2x_SOC)               += tegra2_emc.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)                += pinmux-tegra20-tables.o
 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)                += pinmux-tegra30-tables.o
 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)                += board-dt-tegra30.o
+obj-$(CONFIG_ARCH_TEGRA_3x_SOC)                += tegra30_clocks.o
 obj-$(CONFIG_SMP)                       += platsmp.o localtimer.o headsmp.o
 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
 obj-$(CONFIG_TEGRA_SYSTEM_DMA)         += dma.o
index 18f8b857361d1988d1ebf32c68ee80a9ebfe3d60..bc300657debaefe6b8eed297cb9e452bea618a74 100644 (file)
@@ -160,6 +160,7 @@ struct tegra_clk_init_table {
 };
 
 void tegra2_init_clocks(void);
+void tegra30_init_clocks(void);
 void clk_init(struct clk *clk);
 struct clk *tegra_get_clock_by_name(const char *name);
 int clk_reparent(struct clk *c, struct clk *parent);
index a2eb90169aed4dcee4b48541db475456b972e5bf..029558114236f9ddddb6052d5c5491120839b14c 100644 (file)
@@ -105,6 +105,7 @@ void __init tegra20_init_early(void)
 #ifdef CONFIG_ARCH_TEGRA_3x_SOC
 void __init tegra30_init_early(void)
 {
+       tegra30_init_clocks();
        tegra_init_cache(0x441, 0x551);
 }
 #endif