[PATCH] clk: tegra114: Initialize host1x and related clocks

From: Thierry Reding <hidden>
Date: 2013-09-24 09:40:04
Subsystem: common clk framework, tegra clock driver, the rest · Maintainers: Michael Turquette, Stephen Boyd, Peter De Schrijver, Prashant Gaikwad, Linus Torvalds

From: Mikko Perttunen <redacted>

The host1x clock should be a child of PLLC and runs too fast by default,
so throttle it while at it. The disp1 and disp2 clocks should use PLLP
by default. They will usually be reparented to either pll_d_out0 or
pll_d2_out0 as part of the display driver setup.

Signed-off-by: Mikko Perttunen <redacted>
Signed-off-by: Thierry Reding <redacted>
---
 drivers/clk/tegra/clk-tegra114.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/drivers/clk/tegra/clk-tegra114.c b/drivers/clk/tegra/clk-tegra114.c
index 9467da7..1c8701d 100644
--- a/drivers/clk/tegra/clk-tegra114.c
+++ b/drivers/clk/tegra/clk-tegra114.c
@@ -2223,6 +2223,9 @@ static struct tegra_clk_init_table init_table[] __initdata = {
 	{i2s4, pll_a_out0, 11289600, 0},
 	{dfll_soc, pll_p, 51000000, 1},
 	{dfll_ref, pll_p, 51000000, 1},
+	{host1x, pll_c, 150000000, 0},
+	{disp1, pll_p, 600000000, 0},
+	{disp2, pll_p, 600000000, 0},
 	{clk_max, clk_max, 0, 0}, /* This MUST be the last entry. */
 };
 
-- 
1.8.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help