summaryrefslogtreecommitdiff
path: root/include/linux/usb/tegra_usb_phy.h
diff options
context:
space:
mode:
authorVenu Byravarasu <vbyravarasu@nvidia.com>2013-05-16 19:43:00 +0530
committerFelipe Balbi <balbi@ti.com>2013-05-30 02:47:19 +0300
commit12ea18e4f0bd793b7f9d7e8bf6c76815d5621ac3 (patch)
treecb95c4cbf5f955fb1fda1d4516c214558ac8868c /include/linux/usb/tegra_usb_phy.h
parent9cd9384c73395f6ce78e1b9d529bc9f294fd5223 (diff)
usb: phy: tegra: get ULPI reset GPIO info using DT.
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/tegra_usb_phy.h')
-rw-r--r--include/linux/usb/tegra_usb_phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/tegra_usb_phy.h b/include/linux/usb/tegra_usb_phy.h
index ff2d95978b38..97d123c4d7cc 100644
--- a/include/linux/usb/tegra_usb_phy.h
+++ b/include/linux/usb/tegra_usb_phy.h
@@ -62,6 +62,7 @@ struct tegra_usb_phy {
struct device *dev;
bool is_legacy_phy;
bool is_ulpi_phy;
+ int reset_gpio;
void (*set_pts)(struct usb_phy *x, u8 pts_val);
void (*set_phcd)(struct usb_phy *x, bool enable);
};