OSDN Git Service

phy: tegra: xusb: Add Tegra234 support
authorSing-Han Chen <singhanc@nvidia.com>
Wed, 11 Jan 2023 11:04:49 +0000 (11:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 16:27:42 +0000 (17:27 +0100)
commitd8163a32ca95c6e23cd449868ad12008569ac17a
tree1faeaf90d40d7b8d8e28d6bc4a510dbc67e046b5
parent71d9e899584e11bbd7eaf9934a619c69a15060d8
phy: tegra: xusb: Add Tegra234 support

Add support for the XUSB pad controller found on Tegra234 SoCs. It is
mostly similar to the same IP found on Tegra194, because most of
the Tegra234 XUSB PADCTL registers definition and programming sequence
are the same as Tegra194, Tegra234 XUSB PADCTL can share the same
driver with Tegra186 and Tegra194 XUSB PADCTL.

Introduce a new feature, USB2 HW tracking, for Tegra234.
The feature is to enable HW periodical PAD tracking which measure
and capture the electric parameters of USB2.0 PAD.

Signed-off-by: Sing-Han Chen <singhanc@nvidia.com>
Co-developed-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20230111110450.24617-6-jonathanh@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/tegra/Makefile
drivers/phy/tegra/xusb-tegra186.c
drivers/phy/tegra/xusb.c
drivers/phy/tegra/xusb.h