Patchwork [U-Boot,4/6] OMAP4: clocks: enable usb host clocks by default.

login
register
mail settings
Submitter Govindraj
Date Dec. 14, 2011, 12:21 p.m.
Message ID <1323865287-16601-5-git-send-email-govindraj.raja@ti.com>
Download mbox | patch
Permalink /patch/131365/
State Deferred
Delegated to: Tom Rini
Headers show

Comments

Govindraj - Dec. 14, 2011, 12:21 p.m.
From: "Govindraj.R" <govindraj.raja@ti.com>

Enable usb related clocks by default. On omap4 panda ethernet port
and 2 usb downstream ports are available through a hub can be used
at u-boot if usb host clocks are enabled.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
---
 arch/arm/cpu/armv7/omap4/clocks.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/arm/cpu/armv7/omap4/clocks.c b/arch/arm/cpu/armv7/omap4/clocks.c
index 0886f92..12e283a 100644
--- a/arch/arm/cpu/armv7/omap4/clocks.c
+++ b/arch/arm/cpu/armv7/omap4/clocks.c
@@ -342,6 +342,9 @@  void enable_basic_clocks(void)
 		&prcm->cm_l4per_gpio4_clkctrl,
 		&prcm->cm_l4per_gpio5_clkctrl,
 		&prcm->cm_l4per_gpio6_clkctrl,
+		&prcm->cm_l3init_usbphy_clkctrl,
+		&prcm->cm_clksel_usb_60mhz,
+		&prcm->cm_l3init_hsusbtll_clkctrl,
 		0
 	};
 
@@ -352,6 +355,8 @@  void enable_basic_clocks(void)
 		&prcm->cm_l4per_gptimer2_clkctrl,
 		&prcm->cm_wkup_wdtimer2_clkctrl,
 		&prcm->cm_l4per_uart3_clkctrl,
+		&prcm->cm_l3init_fsusb_clkctrl,
+		&prcm->cm_l3init_hsusbhost_clkctrl,
 		0
 	};