phy: tegra: xusb: Add support to get companion USB 3 port
authorNagarjuna Kristam <nkristam@nvidia.com>
Mon, 10 Feb 2020 08:11:31 +0000 (13:41 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Mar 2020 12:59:46 +0000 (13:59 +0100)
commit5a40fc4b934c1d1026bc401b1def8b6455ce20f0
treea431304aa3b69ba3396a97b3bfd58dbeec98eec3
parente8f7d2f409a15c519d5a6085777d85c1c4bab73a
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>
drivers/phy/tegra/xusb.c
include/linux/phy/tegra/xusb.h