Skip to content

Commit

Permalink
USB: EHCI bus glue for on-chip PMC MSP USB controller
Browse files Browse the repository at this point in the history
This patch add bus glue for USB controller commonly found in PMC-Sierra MSP71xx family of SoC's.

Signed-off-by: Anoop P A <anoop.pa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Anoop authored and Greg Kroah-Hartman committed Feb 25, 2011
1 parent 2edb11c commit 22ced68
Show file tree
Hide file tree
Showing 3 changed files with 401 additions and 2 deletions.
15 changes: 13 additions & 2 deletions drivers/usb/host/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,28 @@ config USB_EHCI_TT_NEWSCHED

If unsure, say Y.

config USB_EHCI_HCD_PMC_MSP
tristate "EHCI support for on-chip PMC MSP71xx USB controller"
depends on USB_EHCI_HCD && MSP_HAS_USB
default n
select USB_EHCI_BIG_ENDIAN_DESC
select USB_EHCI_BIG_ENDIAN_MMIO
---help---
Enables support for the onchip USB controller on the PMC_MSP7100 Family SoC's.
If unsure, say N.

config USB_EHCI_BIG_ENDIAN_MMIO
bool
depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX || \
ARCH_IXP4XX || XPS_USB_HCD_XILINX || \
PPC_MPC512x || CPU_CAVIUM_OCTEON)
PPC_MPC512x || CPU_CAVIUM_OCTEON || \
PMC_MSP)
default y

config USB_EHCI_BIG_ENDIAN_DESC
bool
depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX || XPS_USB_HCD_XILINX || \
PPC_MPC512x)
PPC_MPC512x || PMC_MSP)
default y

config XPS_USB_HCD_XILINX
Expand Down
5 changes: 5 additions & 0 deletions drivers/usb/host/ehci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,11 @@ MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER ehci_msm_driver
#endif

#ifdef CONFIG_USB_EHCI_HCD_PMC_MSP
#include "ehci-pmcmsp.c"
#define PLATFORM_DRIVER ehci_hcd_msp_driver
#endif

#if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \
!defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \
!defined(XILINX_OF_PLATFORM_DRIVER)
Expand Down
Loading

0 comments on commit 22ced68

Please sign in to comment.