Skip to contentSkip to conversation

usb: host: mips: sead3: USB Host controller support for SEAD-3 platform.

PATCH In review Steven J. Hill 2 participants 2 messages Apr 19, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v4 10/10 usb: host: mips: sead3: USB Host controller support for SEAD-3 platform.

From: "Steven J. Hill" <[email protected]>

Add EHCI driver for MIPS SEAD-3 development platform.

---
 drivers/usb/host/Kconfig      |    5 +-
 drivers/usb/host/ehci-hcd.c   |    5 +
 drivers/usb/host/ehci-sead3.c |  266 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 274 insertions(+), 2 deletions(-)
 create mode 100644 drivers/usb/host/ehci-sead3.c
drivers/usb/host/Kconfig +3 -2
index f788eb8..dde5a05 100644
@@ -110,13 +110,14 @@ config USB_EHCI_BIG_ENDIAN_MMIO
 	depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX || \
 				    ARCH_IXP4XX || XPS_USB_HCD_XILINX || \
 				    PPC_MPC512x || CPU_CAVIUM_OCTEON || \
-				    PMC_MSP || SPARC_LEON)
+				    PMC_MSP || SPARC_LEON || MIPS_SEAD3)
 	default y
 
 config USB_EHCI_BIG_ENDIAN_DESC
 	bool
 	depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX || XPS_USB_HCD_XILINX || \
-				    PPC_MPC512x || PMC_MSP || SPARC_LEON)
+				    PPC_MPC512x || PMC_MSP || SPARC_LEON || \
+				    MIPS_SEAD3)
 	default y
 
 config XPS_USB_HCD_XILINX
drivers/usb/host/ehci-hcd.c +5 -0
index aede637..d082d9b 100644
@@ -1371,6 +1371,11 @@ MODULE_LICENSE ("GPL");
 #define PLATFORM_DRIVER		ehci_ls1x_driver
 #endif
 
+#ifdef CONFIG_MIPS_SEAD3
+#include "ehci-sead3.c"
+#define	PLATFORM_DRIVER		ehci_hcd_sead3_driver
+#endif
+
 #ifdef CONFIG_USB_EHCI_HCD_PLATFORM
 #include "ehci-platform.c"
 #define PLATFORM_DRIVER		ehci_platform_driver
drivers/usb/host/ehci-sead3.c new file +266 -0

266 lines not on this page · raw message

Signature · 1 line
1.7.9.6