summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorIvan T. Ivanov <iivanov@mm-sol.com>2014-04-28 16:34:16 +0300
committerFelipe Balbi <balbi@ti.com>2014-04-30 11:28:45 -0500
commita27345434134080273e0597e1d9721ff9e6ca67f (patch)
tree14d28a96a945c76da3b257de3fe2fec24195a276 /include/linux/usb
parent8364f9af237f47fa128bd4e4f7b45beef890c994 (diff)
downloadop-kernel-dev-a27345434134080273e0597e1d9721ff9e6ca67f.zip
op-kernel-dev-a27345434134080273e0597e1d9721ff9e6ca67f.tar.gz
usb: phy: msm: Use reset framework for LINK and PHY resets
Using reset framework eliminate need of platform specific callbacks and enable reset lines to be specified in DT files. Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/msm_hsusb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/msm_hsusb.h b/include/linux/usb/msm_hsusb.h
index bd68299..4e5d916 100644
--- a/include/linux/usb/msm_hsusb.h
+++ b/include/linux/usb/msm_hsusb.h
@@ -165,6 +165,9 @@ struct msm_otg {
struct regulator *v3p3;
struct regulator *v1p8;
struct regulator *vddcx;
+
+ struct reset_control *phy_rst;
+ struct reset_control *link_rst;
};
#endif
OpenPOWER on IntegriCloud