summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Abraham <t-abraham@ti.com>2009-01-04 09:41:16 +0530
committerRemy Bohmer <linux@bohmer.net>2009-01-28 19:57:30 +0100
commit538ef967715322f64ee08efa2296d9682111b014 (patch)
treef316196d03ed9262c99d036eb73c9512c59c25e7
parente142e9f35f8ec61e74bf8019428b003f5070c33b (diff)
usb : musb : Enabling DM6446 (TI DaVinci) USB module power
Enabling DM6446 (TI DaVinci) USB module power and MUSB low-level controller hook up to USB core layer. Signed-off-by: Ravi Babu <ravibabu@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com> Signed-off-by: Thomas Abraham <t-abraham@ti.com> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
-rw-r--r--board/davinci/dvevm/dvevm.c1
-rw-r--r--include/usb.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/board/davinci/dvevm/dvevm.c b/board/davinci/dvevm/dvevm.c
index 5dd081c2753..bf36f736082 100644
--- a/board/davinci/dvevm/dvevm.c
+++ b/board/davinci/dvevm/dvevm.c
@@ -52,6 +52,7 @@ int board_init(void)
lpsc_on(DAVINCI_LPSC_UART0);
lpsc_on(DAVINCI_LPSC_TIMER1);
lpsc_on(DAVINCI_LPSC_GPIO);
+ lpsc_on(DAVINCI_LPSC_USB);
#if !defined(CONFIG_SYS_USE_DSPLINK)
/* Powerup the DSP */
diff --git a/include/usb.h b/include/usb.h
index d20efb1b04a..7c47098d8a4 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -183,7 +183,7 @@ struct usb_device {
#if defined(CONFIG_USB_UHCI) || defined(CONFIG_USB_OHCI) || \
defined(CONFIG_USB_EHCI) || defined(CONFIG_USB_OHCI_NEW) || \
defined(CONFIG_USB_SL811HS) || defined(CONFIG_USB_ISP116X_HCD) || \
- defined(CONFIG_USB_R8A66597_HCD)
+ defined(CONFIG_USB_R8A66597_HCD) || defined(CONFIG_USB_DAVINCI)
int usb_lowlevel_init(void);
int usb_lowlevel_stop(void);