Skip to contentSkip to conversation

clk: tegra: initialise parent of uart clocks

PATCH Superseded Laxman Dewangan 1 participant 2 messages Feb 12, 2013

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: tegra: initialise parent of uart clocks

Initialise the parent of UARTs to PLLP and disabling clock by default.

---
As suggested by Stephen, Make other uarts clock state to disable as driver already enable these clocks.

 drivers/clk/tegra/clk-tegra20.c |    7 +++++--
 drivers/clk/tegra/clk-tegra30.c |    6 +++++-
 2 files changed, 10 insertions(+), 3 deletions(-)
drivers/clk/tegra/clk-tegra20.c +5 -2
index 4612b2e..8b5241e 100644
@@ -1254,8 +1254,11 @@ static __initdata struct tegra_clk_init_table init_table[] = {
 	{csite, clk_max, 0, 1},
 	{emc, clk_max, 0, 1},
 	{cclk, clk_max, 0, 1},
-	{uarta, pll_p, 0, 1},
-	{uartd, pll_p, 0, 1},
+	{uarta, pll_p, 0, 0},
+	{uartb, pll_p, 0, 0},
+	{uartc, pll_p, 0, 0},
+	{uartd, pll_p, 0, 0},
+	{uarte, pll_p, 0, 0},
 	{usbd, clk_max, 12000000, 0},
 	{usb2, clk_max, 12000000, 0},
 	{usb3, clk_max, 12000000, 0},
drivers/clk/tegra/clk-tegra30.c +5 -1
index bf050bc..56925e1 100644
@@ -1877,7 +1877,11 @@ static struct tegra_cpu_car_ops tegra30_cpu_car_ops = {
 };
 
 static __initdata struct tegra_clk_init_table init_table[] = {
-	{uarta, pll_p, 408000000, 1},
+	{uarta, pll_p, 408000000, 0},
+	{uartb, pll_p, 408000000, 0},
+	{uartc, pll_p, 408000000, 0},
+	{uartd, pll_p, 408000000, 0},
+	{uarte, pll_p, 408000000, 0},
 	{pll_a, clk_max, 564480000, 1},
 	{pll_a_out0, clk_max, 11289600, 1},
 	{extern1, pll_a_out0, 0, 1},
Signature · 1 line
1.7.1.1
#1 lore raw
Quoted 5 lines · Laxman Dewangan

Initialise the parent of UARTs to PLLP and disabling clock by default.

---

Please ignore this, I just sent the other patch as V2 to have more appropriate version. Please review the Patch V2. Sorry for spam/inconvenience.