diff options
| author | Alek Du <alek.du@intel.com> | 2009-07-13 00:41:20 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:29 -0400 |
| commit | 331ac6b288d9f3689514ced1878041fb0df7e13c (patch) | |
| tree | c2a9d0187fea9224b81a0460b3fbe7f2e4ed0c21 /include/linux/usb | |
| parent | 3807e26d69b9ad3864fe03224ebebc9610d5802e (diff) | |
USB: EHCI: Add Intel Moorestown EHCI controller HOSTPCx extensions and support phy low power mode
The Intel Moorestown EHCI controller supports non-standard HOSTPCx register
extension. This register controls the LPM behaviour and controls the behaviour
of each USB port.
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Signed-off-by: Alek Du <alek.du@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/ehci_def.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/usb/ehci_def.h b/include/linux/usb/ehci_def.h index 5b88e36c9103..4c4b701ff265 100644 --- a/include/linux/usb/ehci_def.h +++ b/include/linux/usb/ehci_def.h | |||
| @@ -132,6 +132,19 @@ struct ehci_regs { | |||
| 132 | #define USBMODE_CM_HC (3<<0) /* host controller mode */ | 132 | #define USBMODE_CM_HC (3<<0) /* host controller mode */ |
| 133 | #define USBMODE_CM_IDLE (0<<0) /* idle state */ | 133 | #define USBMODE_CM_IDLE (0<<0) /* idle state */ |
| 134 | 134 | ||
| 135 | /* Moorestown has some non-standard registers, partially due to the fact that | ||
| 136 | * its EHCI controller has both TT and LPM support. HOSTPCx are extentions to | ||
| 137 | * PORTSCx | ||
| 138 | */ | ||
| 139 | #define HOSTPC0 0x84 /* HOSTPC extension */ | ||
| 140 | #define HOSTPC_PHCD (1<<22) /* Phy clock disable */ | ||
| 141 | #define HOSTPC_PSPD (3<<25) /* Port speed detection */ | ||
| 142 | #define USBMODE_EX 0xc8 /* USB Device mode extension */ | ||
| 143 | #define USBMODE_EX_VBPS (1<<5) /* VBus Power Select On */ | ||
| 144 | #define USBMODE_EX_HC (3<<0) /* host controller mode */ | ||
| 145 | #define TXFILLTUNING 0x24 /* TX FIFO Tuning register */ | ||
| 146 | #define TXFIFO_DEFAULT (8<<16) /* FIFO burst threshold 8 */ | ||
| 147 | |||
| 135 | /* Appendix C, Debug port ... intended for use with special "debug devices" | 148 | /* Appendix C, Debug port ... intended for use with special "debug devices" |
| 136 | * that can help if there's no serial console. (nonstandard enumeration.) | 149 | * that can help if there's no serial console. (nonstandard enumeration.) |
| 137 | */ | 150 | */ |
