summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJun Li <r65092@freescale.com>2009-12-01 21:13:48 +0800
committerJustin Waters <justin.waters@timesys.com>2010-03-25 14:01:30 -0400
commit511ecffed290b7e87f734aaf33e8689b9bf497c9 (patch)
tree413a79ae0dd5e3609c3515ef339d050b46e854c8 /include
parent76bb214cad48bb0d69af1538b450a8835669f17e (diff)
ENGR00117147-1 USB clock gating and PHY low power mode.
If there is no usb devices connectted or all connectted usb devices are in suspend state, usb host can suspend its whole bus, then put the PHY into low power mode and close all usb clocks. (The patch is splitted 2 patches, this is common code part.) Signed-off-by: Li Jun <r65092@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/ehci_def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/usb/ehci_def.h b/include/linux/usb/ehci_def.h
index 5b88e36c9103..56580aada082 100644
--- a/include/linux/usb/ehci_def.h
+++ b/include/linux/usb/ehci_def.h
@@ -100,7 +100,8 @@ struct ehci_regs {
/* PORTSC: offset 0x44 */
u32 port_status [0]; /* up to N_PORTS */
-/* 31:23 reserved */
+/* 31:24 reserved */
+#define PORT_PHCD (1<<23) /* PHY Low Power Suspend */
#define PORT_WKOC_E (1<<22) /* wake on overcurrent (enable) */
#define PORT_WKDISC_E (1<<21) /* wake on disconnect (enable) */
#define PORT_WKCONN_E (1<<20) /* wake on connect (enable) */