clk: tegra: Set the clk parent of host1x to pll_p
authorAndrew Chew <achew@nvidia.com>
Wed, 7 Aug 2013 11:25:09 +0000 (19:25 +0800)
committerPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 26 Nov 2013 16:43:58 +0000 (18:43 +0200)
The power-on default parent for this clock is pll_m, which turns out to
be wrong. Previously, bootloader reparented this clock.  We'll do it in
the kernel as well, so that there's one less thing that we depend on
bootloader to initialize.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Mark Zhang <markz@nvidia.com>
drivers/clk/tegra/clk-tegra114.c

index e390492..9b8c938 100644 (file)
@@ -2183,6 +2183,7 @@ static struct tegra_clk_init_table init_table[] __initdata = {
        {TEGRA114_CLK_I2S2, TEGRA114_CLK_PLL_A_OUT0, 11289600, 0},
        {TEGRA114_CLK_I2S3, TEGRA114_CLK_PLL_A_OUT0, 11289600, 0},
        {TEGRA114_CLK_I2S4, TEGRA114_CLK_PLL_A_OUT0, 11289600, 0},
+       {TEGRA114_CLK_HOST1X, TEGRA114_CLK_PLL_P, 136000000, 0},
        {TEGRA114_CLK_DFLL_SOC, TEGRA114_CLK_PLL_P, 51000000, 1},
        {TEGRA114_CLK_DFLL_REF, TEGRA114_CLK_PLL_P, 51000000, 1},
        {TEGRA114_CLK_GR_2D, TEGRA114_CLK_PLL_C2, 300000000, 0},