Skip to contentSkip to conversation

arm: tegra: select correct parent clk for pll_p

PATCH Applied Sivaram Nair 2 participants 2 messages Nov 20, 2012 – Nov 26, 2012

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

PATCH 1/1 arm: tegra: select correct parent clk for pll_p

For Tegra30, pll_p clk's parent is wrongly specified as clk_m instead of pll_ref in the tegra30_clk_init_table and this is resulting in a boot-time warning. This patch fixes this by correcting the clk init table.

---
 arch/arm/mach-tegra/common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-tegra/common.c +1 -1
index 0816562..d54cfc5 100644
@@ -104,7 +104,7 @@ static __initdata struct tegra_clk_init_table tegra20_clk_init_table[] = {
 static __initdata struct tegra_clk_init_table tegra30_clk_init_table[] = {
 	/* name		parent		rate		enabled */
 	{ "clk_m",	NULL,		0,		true },
-	{ "pll_p",	"clk_m",	408000000,	true },
+	{ "pll_p",	"pll_ref",	408000000,	true },
 	{ "pll_p_out1",	"pll_p",	9600000,	true },
 	{ "pll_p_out4",	"pll_p",	102000000,	true },
 	{ "sclk",	"pll_p_out4",	102000000,	true },
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 4 lines · Sivaram Nair

For Tegra30, pll_p clk's parent is wrongly specified as clk_m instead of pll_ref in the tegra30_clk_init_table and this is resulting in a boot-time warning. This patch fixes this by correcting the clk init table.

Thanks, applied.