summaryrefslogtreecommitdiff
path: root/include/linux/usb/msm_hsusb.h
diff options
context:
space:
mode:
authorIvan T. Ivanov <iivanov@mm-sol.com>2014-04-28 16:34:17 +0300
committerFelipe Balbi <balbi@ti.com>2014-04-30 11:28:45 -0500
commitcfa3ff5dfe6a11ac8bc4a080416984ab00b0980c (patch)
treefb70e18473d587789aecd5e22fc162e8d2ae498c /include/linux/usb/msm_hsusb.h
parenta27345434134080273e0597e1d9721ff9e6ca67f (diff)
downloadlwn-cfa3ff5dfe6a11ac8bc4a080416984ab00b0980c.tar.gz
lwn-cfa3ff5dfe6a11ac8bc4a080416984ab00b0980c.zip
usb: phy: msm: Add support for secondary PHY control
Allow support to use 2nd HSPHY with USB2 Core. Some platforms may have configuration to allow USB controller work with any of the two HSPHYs present. By default driver configures USB core to use primary HSPHY. Add support to allow user select 2nd HSPHY using DT parameter. Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com> Cc: Manu Gautam <mgautam@codeaurora.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/msm_hsusb.h')
-rw-r--r--include/linux/usb/msm_hsusb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/msm_hsusb.h b/include/linux/usb/msm_hsusb.h
index 4e5d9168f52e..4628f1a4713e 100644
--- a/include/linux/usb/msm_hsusb.h
+++ b/include/linux/usb/msm_hsusb.h
@@ -158,6 +158,7 @@ struct msm_otg {
atomic_t in_lpm;
int async_int;
unsigned cur_power;
+ int phy_number;
struct delayed_work chg_work;
enum usb_chg_state chg_state;
enum usb_chg_type chg_type;