summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-28 17:54:08 +0200
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2011-01-20 18:54:57 +0100
commit486b4b98782b479fb4d1d9778faf864dee4165e8 (patch)
treee88ddb180f0ea039cea87ce0ab45f2fc26850225
parent65e427a57276ffa0dde857a8a8e4a5f60888bcf1 (diff)
ccwmx51: USB device and host support.
USB device support only through the "USB OTG" mini AB connector, and USB hos tonly support through the "USB HOST" connector. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
-rw-r--r--arch/arm/mach-mx5/mx51_ccwmx51js.c3
-rw-r--r--drivers/usb/host/Kconfig2
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/mx51_ccwmx51js.c b/arch/arm/mach-mx5/mx51_ccwmx51js.c
index 34f81f7a9280..92c721297dfc 100644
--- a/arch/arm/mach-mx5/mx51_ccwmx51js.c
+++ b/arch/arm/mach-mx5/mx51_ccwmx51js.c
@@ -50,6 +50,7 @@
#include "devices.h"
#include "mx51_pins.h"
#include "devices_ccwmx51.h"
+#include "usb.h"
extern struct cpu_wp *(*get_cpu_wp)(int *wp);
extern void (*set_num_cpu_wp)(int num);
@@ -275,6 +276,8 @@ static void __init mxc_board_init(void)
#endif
ccwmx51_init_spidevices();
ccwmx51_init_i2c2();
+ mx5_usbh1_init();
+ mx5_usb_dr_init();
#if defined(CONFIG_FB_MXC_SYNC_PANEL) || defined(CONFIG_FB_MXC_SYNC_PANEL_MODULE)
mxc_register_device(&lcd_pdev, plcd_platform_data);
mxc_fb_devices[0].num_resources = ARRAY_SIZE(mxcfb_resources);
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index f90afd30a70c..77d36a427895 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -72,7 +72,7 @@ config USB_EHCI_ARC
config USB_EHCI_ARC_H1
bool "Support for Host1 port on Freescale controller"
- depends on USB_EHCI_ARC && (ARCH_MX27 || ARCH_MX3 || ARCH_MX28)
+ depends on USB_EHCI_ARC && (ARCH_MX27 || ARCH_MX3 || ARCH_MX28 || ARCH_MX51)
---help---
Enable support for the USB Host1 port.