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:

committed by
Felipe Balbi

parent
9cd9384c73
commit
12ea18e4f0
@@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user