summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2013-02-06 14:28:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-06 20:40:13 +0100
commitfa1dfe4abe7f3e1d28ee80753acd9a8a87dbacd7 (patch)
treeeeb30a8bd0187bcf55db714dc113939880ca8717 /arch/arm
parentARM: OMAP: devices: create device for usb part of control module (diff)
downloadlinux-fa1dfe4abe7f3e1d28ee80753acd9a8a87dbacd7.tar.xz
linux-fa1dfe4abe7f3e1d28ee80753acd9a8a87dbacd7.zip
ARM: OMAP2: MUSB: Specify omap4 has mailbox
Added has_mailbox to the musb platform data to specify that omap uses an external mailbox (in control module) to communicate with the musb core during device connect and disconnect. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index 7b33b375fe77..9d27e3f8a09c 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -85,6 +85,9 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
musb_plat.mode = board_data->mode;
musb_plat.extvbus = board_data->extvbus;
+ if (cpu_is_omap44xx())
+ musb_plat.has_mailbox = true;
+
if (soc_is_am35xx()) {
oh_name = "am35x_otg_hs";
name = "musb-am35x";