Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbf71168 authored by JC Kuo's avatar JC Kuo Committed by Kishon Vijay Abraham I
Browse files

phy: tegra: xusb: Add Tegra186 support



Add support for the XUSB pad controller found on Tegra186 SoCs. It is
mostly similar to the same IP found on earlier chips, but the number of
pads exposed differs, as do the programming sequences.

Note that the DVDD_PEX, DVDD_PEX_PLL, HVDD_PEX and HVDD_PEX_PLL power
supplies of the XUSB pad controller require strict power sequencing and
are therefore controlled by the PMIC on Tegra186.

Signed-off-by: default avatarJC Kuo <jckuo@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
[dan.carpenter@oracle.com: Fix testing the wrong variable in probe()]
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
[yuehaibing@huawei.com: Make two functions static to fix sparse warning]
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent a630d54d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -15304,6 +15304,11 @@ M: Laxman Dewangan <ldewangan@nvidia.com>
S:	Supported
F:	drivers/spi/spi-tegra*

TEGRA XUSB PADCTL DRIVER
M:	JC Kuo <jckuo@nvidia.com>
S:	Supported
F:	drivers/phy/tegra/xusb*

TEHUTI ETHERNET DRIVER
M:	Andy Gospodarek <andy@greyhouse.net>
L:	netdev@vger.kernel.org
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ phy-tegra-xusb-y += xusb.o
phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_124_SOC) += xusb-tegra124.o
phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_132_SOC) += xusb-tegra124.o
phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_210_SOC) += xusb-tegra210.o
phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_186_SOC) += xusb-tegra186.o
+899 −0

File added.

Preview size limit exceeded, changes collapsed.

+6 −0
Original line number Diff line number Diff line
@@ -67,6 +67,12 @@ static const struct of_device_id tegra_xusb_padctl_of_match[] = {
		.compatible = "nvidia,tegra210-xusb-padctl",
		.data = &tegra210_xusb_padctl_soc,
	},
#endif
#if defined(CONFIG_ARCH_TEGRA_186_SOC)
	{
		.compatible = "nvidia,tegra186-xusb-padctl",
		.data = &tegra186_xusb_padctl_soc,
	},
#endif
	{ }
};
+27 −0

File changed.

Preview size limit exceeded, changes collapsed.