aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Wu <hao.wu@intel.com>2010-12-09 10:37:42 +0000
committerAlan Cox <alan@linux.intel.com>2010-12-09 10:37:42 +0000
commitcda327cf67518dc204c05ade118d1b13a50fcbb4 (patch)
tree18daa13c5ad881d646554c1841265b8900afdc36
parent9a8304cfe883edf5ef669205d089326eeb6ed241 (diff)
downloadmrst-s0i3-test-cda327cf67518dc204c05ade118d1b13a50fcbb4.tar.gz
mrst-s0i3-test-cda327cf67518dc204c05ade118d1b13a50fcbb4.tar.xz
mrst-s0i3-test-cda327cf67518dc204c05ade118d1b13a50fcbb4.zip
usb: ehci-pci: Support Intel Medfield Platform USB OTG Host
This patch enables EHCI USB host function for Intel Medfield Platform USB OTG host function. Signed-off-by: Hao Wu <hao.wu@intel.com>
-rw-r--r--drivers/usb/host/ehci-hcd.c2
-rw-r--r--drivers/usb/host/ehci-pci.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 10ed7452b5b..803e0777cce 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1155,7 +1155,7 @@ MODULE_LICENSE ("GPL");
#ifdef CONFIG_PCI
#include "ehci-pci.c"
#define PCI_DRIVER ehci_pci_driver
-#ifdef CONFIG_USB_LANGWELL_OTG
+#if defined(CONFIG_USB_LANGWELL_OTG) || defined(CONFIG_USB_PENWELL_OTG)
#include "ehci-langwell-pci.c"
#define INTEL_MID_OTG_HOST_DRIVER ehci_otg_driver
#endif
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index f823a3651bd..48215e591dc 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -98,8 +98,8 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
}
break;
case PCI_VENDOR_ID_INTEL:
- if (pdev->device == 0x0811) {
- ehci_info(ehci, "Detected Langwell OTG HC\n");
+ if (pdev->device == 0x0811 || pdev->device == 0x0829) {
+ ehci_info(ehci, "Detected Intel MID OTG HC\n");
hcd->has_tt = 1;
ehci->has_hostpc = 1;
ehci->has_otg = 1;