]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: tegra: xusb: Move usb3 port init for Tegra210
authorJC Kuo <jckuo@nvidia.com>
Wed, 20 Jan 2021 07:34:03 +0000 (15:34 +0800)
committerThierry Reding <treding@nvidia.com>
Thu, 1 Apr 2021 07:48:37 +0000 (09:48 +0200)
commitf1f4af6819b2635c1ea1d52a6ccde838c096847d
treee714f98e1c6440e25b36d07b98e2ead2a1a73b7a
parentf286164e764726a7959533fc0164b3a11ef73384
phy: tegra: xusb: Move usb3 port init for Tegra210

The programming sequence in tegra210_usb3_port_enable() is required
for both cold boot and SC7 exit, and must be performed only after
PEX/SATA UPHY is initialized. Therefore, this commit moves the
programming sequence to tegra210_usb3_phy_power_on(). PCIE/SATA phy
.power_on() stub will invoke tegra210_usb3_phy_power_on() if the lane
is assigned for XUSB super-speed.

Signed-off-by: JC Kuo <jckuo@nvidia.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/phy/tegra/xusb-tegra210.c
drivers/phy/tegra/xusb.c
drivers/phy/tegra/xusb.h