summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorAjay Kumar Gupta2009-12-28 12:40:42 +0100
committerGreg Kroah-Hartman2010-03-02 23:53:48 +0100
commit5fc4e77911f457b6aa910c704eebe3a58d334116 (patch)
treed5ca15301784865d7bb77d5cba1bd1d099994f37 /include/linux/usb
parentusb: musb: save dynfifo in musb struct (diff)
downloadkernel-qcow2-linux-5fc4e77911f457b6aa910c704eebe3a58d334116.tar.gz
kernel-qcow2-linux-5fc4e77911f457b6aa910c704eebe3a58d334116.tar.xz
kernel-qcow2-linux-5fc4e77911f457b6aa910c704eebe3a58d334116.zip
usb: musb: Add 'extvbus' in musb_hdrc_platform_data
Some of the board might use external Vbus power supply on musb interface which would require to program ULPI_BUSCONTROL register. Adding 'extvbus' flag which can be set from such boards which will be checked at musb driver files before programming ULPI_BUSCONTROL. Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/musb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index d43755669261..4b7f8fa252f0 100644
--- a/include/linux/usb/musb.h
+++ b/include/linux/usb/musb.h
@@ -76,6 +76,9 @@ struct musb_hdrc_platform_data {
/* (HOST or OTG) msec/2 after VBUS on till power good */
u8 potpgt;
+ /* (HOST or OTG) program PHY for external Vbus */
+ unsigned extvbus:1;
+
/* Power the device on or off */
int (*set_power)(int state);