diff options
author | Peter Chen <peter.chen@freescale.com> | 2010-09-27 10:21:58 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2010-09-29 09:07:03 +0800 |
commit | 4a21b0aadd0627fd1df953df2d938c7f4aef59c8 (patch) | |
tree | 3227c71bd37b73336a3f9619a84248a23adc1802 /include | |
parent | 37f1e49b3ea3803b2acfef0ee24346763c4c9cb8 (diff) |
ENGR00131616-2 usb: restructure lower power mode and wakeup function
Device driver part((squashed with ENGR00131776)
Mainly includes restruct low power mode and wakeup function for all usb modes.
1. Move more kernel common code changes to fsl driver.
2. Fix kinds of otg bugs
3. At idle mode all usb clock and related phy clock will be closed.
4. Wakeup function are fully verified for all usb modes
(device, host and otg mode)
5. The modifications are verified at mx50 platform for 2.6.35
Signed-off-by: Hu Hui <b29976@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl_devices.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 67398a699792..93d02d3f3d09 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -91,6 +91,7 @@ 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 (*platform_driver_vbus)(bool on); /* platform special function for vbus shutdown/open */ unsigned big_endian_mmio:1; unsigned big_endian_desc:1; |