* [PATCH] clk: tegra114: Initialize host1x and related clocks
@ 2013-09-24 9:40 Thierry Reding
[not found] ` <1380015604-21956-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Thierry Reding @ 2013-09-24 9:40 UTC (permalink / raw)
To: Mike Turquette
Cc: Stephen Warren, Peter De Schrijver, Prashant Gaikwad,
linux-tegra-u79uwXL29TY76Z2rM5mHXA, Mikko Perttunen
From: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
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 <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: tegra114: Initialize host1x and related clocks
[not found] ` <1380015604-21956-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2013-09-24 17:20 ` Stephen Warren
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2013-09-24 17:20 UTC (permalink / raw)
To: Thierry Reding
Cc: Mike Turquette, Peter De Schrijver, Prashant Gaikwad,
linux-tegra-u79uwXL29TY76Z2rM5mHXA, Mikko Perttunen
On 09/24/2013 03:40 AM, Thierry Reding wrote:
> From: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>
> 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.
Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-24 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24 9:40 [PATCH] clk: tegra114: Initialize host1x and related clocks Thierry Reding
[not found] ` <1380015604-21956-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-24 17:20 ` Stephen Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox