Skip to contentSkip to conversation

ARM: tegra: paz00: add clocks required for usb operation

PATCH Superseded Marc Dietrich 2 participants 3 messages Aug 9, 2011 – Aug 10, 2011

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

PATCH v3 1/1 ARM: tegra: paz00: add clocks required for usb operation

These clocks are required for usb operation. pll_p_out4 needs to be set to 24 MHz. The other clocks default to "off" in order to safe some energy.

---
 arch/arm/mach-tegra/board-paz00.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/mach-tegra/board- renamed from arch/arm/mach-tegra/board-paz00.c +0 -0

paz00.c
index 45111f6..cde36dc 100644

arch/arm/mach-tegra/board-paz00.c +0 -0
@@ -145,6 +145,12 @@ static __initdata struct tegra_clk_init_table 

paz00_clk_init_table[] = {
/* name parent rate enabled */
{ "uarta", "pll_p", 216000000, true },
{ "uartd", "pll_p", 216000000, true },
+
+ { "pll_p_out4", "pll_p", 24000000, true },
+ { "usbd", "clk_m", 12000000, false },
+ { "usb2", "clk_m", 12000000, false },
+ { "usb3", "clk_m", 12000000, false },
+
{ NULL, NULL, 0, 0},
};

Signature · 1 line
1.7.4.1
#1 lore raw

PATCH v3 1/1 ARM: tegra: paz00: add clocks required for usb operation

Hello.

Quoted 2 lines · Marc Dietrich

These clocks are required for usb operation. pll_p_out4 needs to be set to 24 MHz. The other clocks default to "off" in order to safe some energy.

s/safe/save/

You didn't sign off on the patch.

Quoted 13 lines
---
  arch/arm/mach-tegra/board-paz00.c |    6 ++++++
  1 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/mach-tegra/board- renamed from arch/arm/mach-tegra/board-paz00.c +0 -0

paz00.c
index 45111f6..cde36dc 100644

arch/arm/mach-tegra/board-paz00.c +0 -0
@@ -145,6 +145,12 @@ static __initdata struct tegra_clk_init_table
 paz00_clk_init_table[] = {
  	/* name		parent		rate		enabled */

arch/arm/mach-tegra/board-paz00.c static __initdata struct tegra_clk_init_table · line 156

Quoted 10 lines
arch/arm/mach-tegra/board-paz00.c +6 -0
  	{ "uarta",	"pll_p",	216000000,	true },
  	{ "uartd",	"pll_p",	216000000,	true },
+
+	{ "pll_p_out4",	"pll_p",	24000000,	true },
+	{ "usbd",	"clk_m",	12000000,	false },
+	{ "usb2",	"clk_m",	12000000,	false },
+	{ "usb3",	"clk_m",	12000000,	false },
+
  	{ NULL,		NULL,		0,		0},
  };

WBR, Sergei

#2 lore raw

PATCH v3 1/1 ARM: tegra: paz00: add clocks required for usb operation

Hi Sergei,

Quoted 6 lines · Marc Dietrich
Quoted 3 lines

These clocks are required for usb operation. pll_p_out4 needs to be set to 24 MHz. The other clocks default to "off" in order to safe some energy.

s/safe/save/

ah yeah, my english needs some polish,

Quoted 1 line

You didn't sign off on the patch.

and that's even worse. Time for V4 I guess.

Sorry for all the trouble.

Marc

Quoted 30 lines
Quoted 25 lines

---

  arch/arm/mach-tegra/board-paz00.c |    6 ++++++
  1 files changed, 6 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/arch/arm/mach-tegra/board- paz00.c
index 45111f6..cde36dc 100644

arch/arm/mach-tegra/board-paz00.c +6 -0
@@ -145,6 +145,12 @@ static __initdata struct tegra_clk_init_table
 paz00_clk_init_table[] = {
 
  	/* name		parent		rate		enabled */
  	{ "uarta",	"pll_p",	216000000,	true },
  	{ "uartd",	"pll_p",	216000000,	true },
 
+
+	{ "pll_p_out4",	"pll_p",	24000000,	true },
+	{ "usbd",	"clk_m",	12000000,	false },
+	{ "usb2",	"clk_m",	12000000,	false },
+	{ "usb3",	"clk_m",	12000000,	false },
+
Quoted 3 lines

{ NULL, NULL, 0, 0},

  };

WBR, Sergei