Skip to contentSkip to conversation

clk: tegra114: Initialize host1x and related clocks

PATCH In review Thierry Reding 2 participants 2 messages Sep 24, 2013 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: tegra114: Initialize host1x and related clocks

From: Mikko Perttunen <[email protected]>

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.

---
 drivers/clk/tegra/clk-tegra114.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/clk/tegra/clk-tegra114.c +3 -0
index 9467da7..1c8701d 100644
@@ -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. */
 };
 
Signature · 1 line
1.8.4

A message that is not in the archive (sent off-list or not yet received): 1380015604-21956-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org

#2 lore raw
Quoted 6 lines · Thierry Reding

From: Mikko Perttunen <[email protected]>

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.