]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: tegra: select correct parent clk for pll_p
authorSivaram Nair <sivaramn@nvidia.com>
Tue, 20 Nov 2012 07:29:16 +0000 (09:29 +0200)
committerStephen Warren <swarren@nvidia.com>
Mon, 26 Nov 2012 20:43:41 +0000 (13:43 -0700)
For Tegra30, pll_p clk's parent is wrongly specified as clk_m instead of
pll_ref in the tegra30_clk_init_table and this is resulting in a
boot-time warning. This patch fixes this by correcting the clk init
table.

Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/common.c

index 0b0a5f556d34062ba67b955629c859b5b20c9b59..988549a77b69610a8d41a53d1610244219f01f11 100644 (file)
@@ -102,7 +102,7 @@ static __initdata struct tegra_clk_init_table tegra20_clk_init_table[] = {
 static __initdata struct tegra_clk_init_table tegra30_clk_init_table[] = {
        /* name         parent          rate            enabled */
        { "clk_m",      NULL,           0,              true },
-       { "pll_p",      "clk_m",        408000000,      true },
+       { "pll_p",      "pll_ref",      408000000,      true },
        { "pll_p_out1", "pll_p",        9600000,        true },
        { NULL,         NULL,           0,              0},
 };