summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2010-11-16 09:46:01 +0800
committerAlan Tull <alan.tull@freescale.com>2011-02-03 16:30:43 -0600
commit1f968a4a552a22ffa0622da67781efeae4c1cddc (patch)
treec039e976d1933daba1dfac2691e7634de1443346 /include
parent8751471034ee888e3ffafc32ef289fbaf4b96764 (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 */