diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2009-12-28 12:40:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 23:53:48 +0100 |
commit | 5fc4e77911f457b6aa910c704eebe3a58d334116 (patch) | |
tree | d5ca15301784865d7bb77d5cba1bd1d099994f37 /include | |
parent | usb: musb: save dynfifo in musb struct (diff) | |
download | linux-5fc4e77911f457b6aa910c704eebe3a58d334116.tar.xz 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')
-rw-r--r-- | include/linux/usb/musb.h | 3 |
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); |