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 /include/linux/phy | |
parent | a5be28c3656af71f1c9d75381f7b86d5056da9f3 (diff) | |
download | linux-90767cdfea89c3ac7012035d66633b9ba839091a.tar.gz linux-90767cdfea89c3ac7012035d66633b9ba839091a.tar.bz2 linux-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 'include/linux/phy')
-rw-r--r-- | include/linux/phy/tegra/xusb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/phy/tegra/xusb.h b/include/linux/phy/tegra/xusb.h index ee59562c8354..1235865e7e2c 100644 --- a/include/linux/phy/tegra/xusb.h +++ b/include/linux/phy/tegra/xusb.h @@ -18,5 +18,7 @@ int tegra_xusb_padctl_hsic_set_idle(struct tegra_xusb_padctl *padctl, unsigned int port, bool idle); int tegra_xusb_padctl_usb3_set_lfps_detect(struct tegra_xusb_padctl *padctl, unsigned int port, bool enable); - +int tegra_xusb_padctl_set_vbus_override(struct tegra_xusb_padctl *padctl, + bool val); +int tegra_phy_xusb_utmi_port_reset(struct phy *phy); #endif /* PHY_TEGRA_XUSB_H */ |