summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-fsl.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-04-18 22:01:55 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-03 01:59:36 +0200
commit13b7ee2a953f07d994b6bc3439cdd4a718de6f80 (patch)
tree186254ec05ef8b140dc9f191b36193c241a51012 /drivers/usb/host/ehci-fsl.h
parentusb: factor out state_string() on otg drivers (diff)
downloadlinux-13b7ee2a953f07d994b6bc3439cdd4a718de6f80.tar.xz
linux-13b7ee2a953f07d994b6bc3439cdd4a718de6f80.zip
USB: ehci-fsl: add MPC5121E specific suspend and resume
Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-fsl.h')
-rw-r--r--drivers/usb/host/ehci-fsl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-fsl.h b/drivers/usb/host/ehci-fsl.h
index 3fabed33d940..491806221165 100644
--- a/drivers/usb/host/ehci-fsl.h
+++ b/drivers/usb/host/ehci-fsl.h
@@ -27,6 +27,10 @@
#define PORT_PTS_SERIAL (3<<30)
#define PORT_PTS_PTW (1<<28)
#define FSL_SOC_USB_PORTSC2 0x188
+#define FSL_SOC_USB_USBMODE 0x1a8
+#define USBMODE_CM_MASK (3 << 0) /* controller mode mask */
+#define USBMODE_CM_HOST (3 << 0) /* controller mode: host */
+#define USBMODE_ES (1 << 2) /* (Big) Endian Select */
#define FSL_SOC_USB_USBGENCTRL 0x200
#define USBGENCTRL_PPP (1 << 3)