summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFrank Li <Frank.li@freescale.com>2010-03-10 15:20:22 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 11:20:19 +0200
commit3f59fe0ee827aa12cecd8bcf1573a66945e5b02b (patch)
tree0de344d1b124446f040167a827aea90a9f222de9 /include/linux
parent2631add3701e1de5d46da7ee5ec8b20ecf291395 (diff)
ENGR00121497-2 MX28 USB 100mA current draw
Add USB 100mA limitation feature for mx28 to mach usb 2.0 current requirment Signed-off-by: Frank Li <Frank.li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/fsl_xcvr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/fsl_xcvr.h b/include/linux/usb/fsl_xcvr.h
index 9a48bb61834c..3708715cb1af 100644
--- a/include/linux/usb/fsl_xcvr.h
+++ b/include/linux/usb/fsl_xcvr.h
@@ -31,6 +31,8 @@ struct fsl_xcvr_ops {
void (*set_device)(void);
void (*set_vbus_power)(struct fsl_xcvr_ops *ops,
struct fsl_usb2_platform_data *pdata, int on);
+ void (*set_vbus_draw)(struct fsl_xcvr_ops *ops,
+ struct fsl_usb2_platform_data *pdata, unsigned mA);
void (*set_remote_wakeup)(u32 *view);
void (*pullup)(int on);
void(*set_test_mode)(u32 *view, enum usb_test_mode mode);