diff options
author | Nagarjuna Kristam <nkristam@nvidia.com> | 2019-10-18 15:08:08 +0530 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-10-23 13:20:36 +0530 |
commit | 90767cdfea89c3ac7012035d66633b9ba839091a (patch) | |
tree | d70d16dd3ab965f9c217badf870d6c456fa36d26 /drivers/phy/tegra/xusb.h | |
parent | a5be28c3656af71f1c9d75381f7b86d5056da9f3 (diff) | |
download | lwn-90767cdfea89c3ac7012035d66633b9ba839091a.tar.gz lwn-90767cdfea89c3ac7012035d66633b9ba839091a.zip |
phy: tegra: xusb: Add vbus override support on Tegra210
Tegra XUSB device control driver needs to control vbus override
during its operations, add API for the support.
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/tegra/xusb.h')
-rw-r--r-- | drivers/phy/tegra/xusb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/phy/tegra/xusb.h b/drivers/phy/tegra/xusb.h index bd91832a0843..da94fcce6307 100644 --- a/drivers/phy/tegra/xusb.h +++ b/drivers/phy/tegra/xusb.h @@ -373,6 +373,8 @@ struct tegra_xusb_padctl_ops { unsigned int index, bool idle); int (*usb3_set_lfps_detect)(struct tegra_xusb_padctl *padctl, unsigned int index, bool enable); + int (*vbus_override)(struct tegra_xusb_padctl *padctl, bool set); + int (*utmi_port_reset)(struct phy *phy); }; struct tegra_xusb_padctl_soc { |