phy: tegra: xusb: Add usb-phy support
authorNagarjuna Kristam <nkristam@nvidia.com>
Mon, 10 Feb 2020 08:11:30 +0000 (13:41 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Mar 2020 12:59:45 +0000 (13:59 +0100)
commite8f7d2f409a15c519d5a6085777d85c1c4bab73a
tree26c3f98806b97749d2ae97e15c3ec5a989d90345
parentf67213cee2b35fe169a723746b7f37debf20fa29
phy: tegra: xusb: Add usb-phy support

For USB 2 ports that has usb-role-switch enabled, add usb-phy for
corresponding USB 2 phy. USB role changes from role switch are then
updated to corresponding host and device mode drivers via usb-phy notifier
block.

Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
[treding@nvidia.com: rebase onto Greg's usb-next branch]
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/phy/tegra/xusb.c
drivers/phy/tegra/xusb.h