提交 ce910686 编写于 作者: T Thierry Reding 提交者: Stephen Warren

clk: tegra: Make gr2d and gr3d clocks children of pll_c

By default these clocks are children of pll_m, but in downstream kernels
they are reparented to pll_c. While at it, decrease their frequencies to
300 MHz because the defaults aren't in the specified range.

gr2d can reportedly run at much higher frequencies, but 300 MHz works
and is a more conservative default.
Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
Acked-by: NMike Turquette <mturquette@linaro.org>
Acked-By: NPeter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: NStephen Warren <swarren@nvidia.com>
上级 4dd59cdd
...@@ -1247,6 +1247,8 @@ static __initdata struct tegra_clk_init_table init_table[] = { ...@@ -1247,6 +1247,8 @@ static __initdata struct tegra_clk_init_table init_table[] = {
{host1x, pll_c, 150000000, 0}, {host1x, pll_c, 150000000, 0},
{disp1, pll_p, 600000000, 0}, {disp1, pll_p, 600000000, 0},
{disp2, pll_p, 600000000, 0}, {disp2, pll_p, 600000000, 0},
{gr2d, pll_c, 300000000, 0},
{gr3d, pll_c, 300000000, 0},
{clk_max, clk_max, 0, 0}, /* This MUST be the last entry */ {clk_max, clk_max, 0, 0}, /* This MUST be the last entry */
}; };
......
...@@ -1911,6 +1911,8 @@ static __initdata struct tegra_clk_init_table init_table[] = { ...@@ -1911,6 +1911,8 @@ static __initdata struct tegra_clk_init_table init_table[] = {
{disp1, pll_p, 600000000, 0}, {disp1, pll_p, 600000000, 0},
{disp2, pll_p, 600000000, 0}, {disp2, pll_p, 600000000, 0},
{twd, clk_max, 0, 1}, {twd, clk_max, 0, 1},
{gr2d, pll_c, 300000000, 0},
{gr3d, pll_c, 300000000, 0},
{clk_max, clk_max, 0, 0}, /* This MUST be the last entry. */ {clk_max, clk_max, 0, 0}, /* This MUST be the last entry. */
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册