summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHu hui <b29976@freescale.com>2010-07-12 09:54:08 +0800
committerHuhui <b29976@shlinux1.ap.freescale.net>2010-07-12 09:54:08 +0800
commitebc95dca7b4929998dbd4b42dcda8c42c9eab758 (patch)
treefe2f3dbc2c2405ef380b695decd1983dd8a3129c /include
parent80c89c3940a7eca69bb1019900a73dee40afc1f0 (diff)
ENGR00124963 USB: add vbus enable/disable
support imx53 evk board OTG and Host1 vbus active and inactive to low the power consume, fix fsl_otg.c build failt, add vbus power control function pointer in struct fsl_usb2_platform_data. Signed-off-by: Hu hui <b29976@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 30a7ca46fa35..e018b0d0dfc6 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -93,6 +93,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 (*platform_driver_vbus)(bool on); /* platform special function for vbus shutdown/open */
unsigned big_endian_mmio : 1;
unsigned big_endian_desc : 1;
unsigned es : 1; /* need USBMODE:ES */