Commit 3ee076de authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Greg Kroah-Hartman

usb: musb: introduce DA8xx/OMAP-L1x glue layer

Texas Instruments DA8xx/OMAP-L1x glue layer for the
MUSBMHRDC driver.
Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarYadviga Grigorieva <yadviga@ru.mvista.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d613746d
...@@ -45,6 +45,9 @@ config USB_MUSB_SOC ...@@ -45,6 +45,9 @@ config USB_MUSB_SOC
comment "DaVinci 35x and 644x USB support" comment "DaVinci 35x and 644x USB support"
depends on USB_MUSB_HDRC && ARCH_DAVINCI_DMx depends on USB_MUSB_HDRC && ARCH_DAVINCI_DMx
comment "DA8xx/OMAP-L1x USB support"
depends on USB_MUSB_HDRC && ARCH_DAVINCI_DA8XX
comment "OMAP 243x high speed USB support" comment "OMAP 243x high speed USB support"
depends on USB_MUSB_HDRC && ARCH_OMAP2430 depends on USB_MUSB_HDRC && ARCH_OMAP2430
...@@ -144,7 +147,7 @@ config USB_MUSB_HDRC_HCD ...@@ -144,7 +147,7 @@ config USB_MUSB_HDRC_HCD
config MUSB_PIO_ONLY config MUSB_PIO_ONLY
bool 'Disable DMA (always use PIO)' bool 'Disable DMA (always use PIO)'
depends on USB_MUSB_HDRC depends on USB_MUSB_HDRC
default y if USB_TUSB6010 default USB_TUSB6010 || ARCH_DAVINCI_DA8XX
help help
All data is copied between memory and FIFO by the CPU. All data is copied between memory and FIFO by the CPU.
DMA controllers are ignored. DMA controllers are ignored.
......
...@@ -10,6 +10,10 @@ ifeq ($(CONFIG_ARCH_DAVINCI_DMx),y) ...@@ -10,6 +10,10 @@ ifeq ($(CONFIG_ARCH_DAVINCI_DMx),y)
musb_hdrc-objs += davinci.o musb_hdrc-objs += davinci.o
endif endif
ifeq ($(CONFIG_ARCH_DAVINCI_DA8XX),y)
musb_hdrc-objs += da8xx.o
endif
ifeq ($(CONFIG_USB_TUSB6010),y) ifeq ($(CONFIG_USB_TUSB6010),y)
musb_hdrc-objs += tusb6010.o musb_hdrc-objs += tusb6010.o
endif endif
......
This diff is collapsed.
...@@ -599,6 +599,7 @@ extern void musb_hnp_stop(struct musb *musb); ...@@ -599,6 +599,7 @@ extern void musb_hnp_stop(struct musb *musb);
extern int musb_platform_set_mode(struct musb *musb, u8 musb_mode); extern int musb_platform_set_mode(struct musb *musb, u8 musb_mode);
#if defined(CONFIG_USB_TUSB6010) || defined(CONFIG_BLACKFIN) || \ #if defined(CONFIG_USB_TUSB6010) || defined(CONFIG_BLACKFIN) || \
defined(CONFIG_ARCH_DAVINCI_DA8XX) || \
defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \
defined(CONFIG_ARCH_OMAP4) defined(CONFIG_ARCH_OMAP4)
extern void musb_platform_try_idle(struct musb *musb, unsigned long timeout); extern void musb_platform_try_idle(struct musb *musb, unsigned long timeout);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment