diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2013-05-16 18:13:00 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-30 03:47:19 +0400 |
commit | 12ea18e4f0bd793b7f9d7e8bf6c76815d5621ac3 (patch) | |
tree | cb95c4cbf5f955fb1fda1d4516c214558ac8868c /include/linux/usb/tegra_usb_phy.h | |
parent | 9cd9384c73395f6ce78e1b9d529bc9f294fd5223 (diff) | |
download | linux-12ea18e4f0bd793b7f9d7e8bf6c76815d5621ac3.tar.xz |
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.h | 1 |
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); }; |