summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJun Li <r65092@freescale.com>2009-07-29 18:47:35 +0800
committerJustin Waters <justin.waters@timesys.com>2009-10-13 11:05:08 -0400
commita9067a441adcab98b64e720c024698b2727c6476 (patch)
tree64937ef0912d3926785bd90c6eff548253b0d6ed /include
parentcf2f19f6dc70139450f22df6a04f5392fd567307 (diff)
ENGR00114795 fix usb OTG co-work with remote wakeup issue.
This patch fix OTG pin-detect failure issue. via sysfs set power/wakeup, i.MX51 can: Put usb phy into low power mode when system enters stop or standby mode; Enable usb device remote wakeup system by Vbus and usb host remote wakeup system by device connection or disconnection. Signed-off-by: Li Jun <r65092@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h1
-rw-r--r--include/linux/usb/ehci_def.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 8b3b8ee565b6..de0c37d08b6c 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -119,6 +119,7 @@ struct fsl_usb2_platform_data {
struct fsl_xcvr_power *xcvr_pwr;
int (*gpio_usb_active) (void);
void (*gpio_usb_inactive) (void);
+ void (*usb_clock_for_pm) (bool);
unsigned big_endian_mmio : 1;
unsigned big_endian_desc : 1;
unsigned es : 1; /* need USBMODE:ES */
diff --git a/include/linux/usb/ehci_def.h b/include/linux/usb/ehci_def.h
index 19acf0f2bc0e..5b88e36c9103 100644
--- a/include/linux/usb/ehci_def.h
+++ b/include/linux/usb/ehci_def.h
@@ -101,7 +101,6 @@ struct ehci_regs {
/* PORTSC: offset 0x44 */
u32 port_status [0]; /* up to N_PORTS */
/* 31:23 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) */