summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2010-11-16 09:46:01 +0800
committerLily Zhang <r58066@freescale.com>2010-11-22 09:39:06 +0800
commiteec3955bafd5640dca3f879e35d45d5edc54728e (patch)
treeb52c13bccb796b777175c0a1f9465a55080fa517 /include
parent35f354666287cf542912033af8cee6123a126b9f (diff)
ENGR00133702-2 usb host1: Add usb host1 low power and wakeup support for mx28
Driver part Add usb low power and wakeup support for mx28 usb1, in that means, when the usb h1 is not in used, the host1 will close usb core and phy's clock. When an usb activity happens, the usb can be wakeup from low power mode. Meanwhile, the usb host1 can also be system wakeup source through sys entry like other platforms. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index e683083ee9cb..d1faf3a6d434 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -90,9 +90,9 @@ struct fsl_usb2_platform_data {
void (*platform_suspend)(struct fsl_usb2_platform_data *);
void (*platform_resume)(struct fsl_usb2_platform_data *);
void (*wake_up_enable)(struct fsl_usb2_platform_data *pdata, bool on);
- void (*phy_lowpower_suspend)(bool);
+ void (*phy_lowpower_suspend)(struct fsl_usb2_platform_data *pdata, bool on);
void (*platform_driver_vbus)(bool on); /* platform special function for vbus shutdown/open */
- bool (*is_wakeup_event)(void);
+ bool (*is_wakeup_event)(struct fsl_usb2_platform_data *pdata);
unsigned big_endian_mmio:1;
unsigned big_endian_desc:1;
unsigned es:1; /* need USBMODE:ES */