clk: tegra: Set the clock parent of gr2d/gr3d to pll_c2
authorMark Zhang <markz@nvidia.com>
Wed, 7 Aug 2013 11:25:08 +0000 (19:25 +0800)
committerPeter De Schrijver <pdeschrijver@nvidia.com>
Mon, 25 Nov 2013 14:11:44 +0000 (16:11 +0200)
pll_m will be the parent of gr2d/gr3d if we don't do this.
And because pll_m runs at a high rate so gr2d/gr3d will be
unstable. So change the parent of them to pll_c2.

Signed-off-by: Mark Zhang <markz@nvidia.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
drivers/clk/tegra/clk-tegra114.c

index 6d6491c7b4799a0c1e5664fc87339db566f4ecb9..76611289b8e60ac4c37b851b814f1ac09052ba0a 100644 (file)
@@ -2180,6 +2180,9 @@ static struct tegra_clk_init_table init_table[] __initdata = {
        {TEGRA114_CLK_I2S4, TEGRA114_CLK_PLL_A_OUT0, 11289600, 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},
+       {TEGRA114_CLK_GR_3D, TEGRA114_CLK_PLL_C2, 300000000, 0},
+
        /* This MUST be the last entry. */
        {TEGRA114_CLK_CLK_MAX, TEGRA114_CLK_CLK_MAX, 0, 0},
 };