summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-10-03 14:44:39 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-10-03 14:44:39 +0200
commit49f91ff5b1083b8350ea0bd8fc1a37d7436b7e5b (patch)
tree6f151e2928da6e3c1f3de78afd609dfd049b1b0c
parentdfb47833b7ee0248430bfd22460b3902527466cc (diff)
tegra: colibri_t20: clock clean-up
Clean-up some of the early clock initialisation hacks.
-rw-r--r--arch/arm/mach-tegra/board-colibri_t20.c9
-rw-r--r--arch/arm/mach-tegra/common.c3
2 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/board-colibri_t20.c b/arch/arm/mach-tegra/board-colibri_t20.c
index abc419226d13..98c15b8f96ab 100644
--- a/arch/arm/mach-tegra/board-colibri_t20.c
+++ b/arch/arm/mach-tegra/board-colibri_t20.c
@@ -106,8 +106,6 @@ static __initdata struct tegra_clk_init_table colibri_t20_clk_init_table[] = {
/* SMSC3340 REFCLK 24 MHz */
{"pll_p_out4", "pll_p", 24000000, true},
{"pwm", "clk_32k", 32768, false},
- {"i2s1", "pll_a_out0", 0, false},
- {"i2s2", "pll_a_out0", 0, false},
{"spdif_out", "pll_a_out0", 0, false},
//required otherwise getting disabled by "Disabling clocks left on by bootloader" stage
@@ -116,17 +114,16 @@ static __initdata struct tegra_clk_init_table colibri_t20_clk_init_table[] = {
//required otherwise uses pll_p_out4 as parent and changing its rate to 72 MHz
{"sclk", "pll_p_out3", 108000000, true },
+ /* AC97 incl. touch */
{"ac97", "pll_a_out0", 24576000, true},
+
/* WM9715L XTL_IN 24.576 MHz */
//[ 0.372722] Unable to set parent pll_a_out0 of clock cdev1: -38
// {"cdev1", "pll_a_out0", 24576000, true},
// {"pll_a_out0", "pll_a", 24576000, true},
{"vde", "pll_c", 240000000, false},
-//dynamic
-// {"avp.sclk", "virt_sclk", 250000000, false},
-//dynamic
- {"apbdma", "pclk", 36000000, false},
+
{"ndflash", "pll_p", 108000000, false},
//[ 2.284308] kernel BUG at drivers/spi/spi-tegra.c:254!
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index e4e22f813171..3a4f86079053 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -171,7 +171,8 @@ static __initdata struct tegra_clk_init_table common_clk_init_table[] = {
{ "pll_m_out1", "pll_m", 120000000, true },
//[ 0.000000] Failed to set parent pll_c_out1 for sclk (violates clock limit 240000000)
//[ 0.000000] Unable to set parent pll_c_out1 of clock sclk: -22
- { "sclk", "pll_p_out3", 72000000, true },
+ { "pll_c_out1", "pll_c", 40000000, false },
+ { "sclk", "pll_c_out1", 40000000, true },
{ "hclk", "sclk", 40000000, true },
{ "pclk", "hclk", 40000000, true },
{ "mpe", "pll_c", 0, false },