diff options
author | Nagarjuna Kristam <nkristam@nvidia.com> | 2020-02-10 13:41:31 +0530 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-03-19 13:59:46 +0100 |
commit | 5a40fc4b934c1d1026bc401b1def8b6455ce20f0 (patch) | |
tree | a431304aa3b69ba3396a97b3bfd58dbeec98eec3 /include/linux | |
parent | e8f7d2f409a15c519d5a6085777d85c1c4bab73a (diff) | |
download | lwn-5a40fc4b934c1d1026bc401b1def8b6455ce20f0.tar.gz lwn-5a40fc4b934c1d1026bc401b1def8b6455ce20f0.zip |
phy: tegra: xusb: Add support to get companion USB 3 port
Tegra XUSB host, device mode driver requires the USB 3 companion port
number for corresponding USB 2 port. Add API to retrieve the same.
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: JC Kuo <jckuo@nvidia.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/phy/tegra/xusb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy/tegra/xusb.h b/include/linux/phy/tegra/xusb.h index 1235865e7e2c..71d956935405 100644 --- a/include/linux/phy/tegra/xusb.h +++ b/include/linux/phy/tegra/xusb.h @@ -21,4 +21,6 @@ int tegra_xusb_padctl_usb3_set_lfps_detect(struct tegra_xusb_padctl *padctl, int tegra_xusb_padctl_set_vbus_override(struct tegra_xusb_padctl *padctl, bool val); int tegra_phy_xusb_utmi_port_reset(struct phy *phy); +int tegra_xusb_padctl_get_usb3_companion(struct tegra_xusb_padctl *padctl, + unsigned int port); #endif /* PHY_TEGRA_XUSB_H */ |