mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
9cd9384c73
commit
12ea18e4f0
2 changed files with 12 additions and 14 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue