diff options
author | Thierry Reding <treding@nvidia.com> | 2019-04-25 11:34:43 -0400 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-06-12 06:05:44 -0400 |
commit | aa5452f54b9f21213364baed25a0f8241aa09050 (patch) | |
tree | effc4946ac5766d717fc29d0bb9cb487fc2c4177 | |
parent | f40043b368ae787837ef659728f0b08bd34f5317 (diff) |
phy: tegra: xusb: Add Tegra124 PLL power supplies
The Tegra124 SoC has four inputs that consume power in order to supply
the PLLs that drive the various USB, PCI and SATA pads.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r-- | drivers/phy/tegra/xusb-tegra124.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/phy/tegra/xusb-tegra124.c b/drivers/phy/tegra/xusb-tegra124.c index c45cbedc6634..254592c47b00 100644 --- a/drivers/phy/tegra/xusb-tegra124.c +++ b/drivers/phy/tegra/xusb-tegra124.c | |||
@@ -1721,6 +1721,13 @@ static const struct tegra_xusb_padctl_ops tegra124_xusb_padctl_ops = { | |||
1721 | .hsic_set_idle = tegra124_hsic_set_idle, | 1721 | .hsic_set_idle = tegra124_hsic_set_idle, |
1722 | }; | 1722 | }; |
1723 | 1723 | ||
1724 | static const char * const tegra124_xusb_padctl_supply_names[] = { | ||
1725 | "avdd-pll-utmip", | ||
1726 | "avdd-pll-erefe", | ||
1727 | "avdd-pex-pll", | ||
1728 | "hvdd-pex-pll-e", | ||
1729 | }; | ||
1730 | |||
1724 | const struct tegra_xusb_padctl_soc tegra124_xusb_padctl_soc = { | 1731 | const struct tegra_xusb_padctl_soc tegra124_xusb_padctl_soc = { |
1725 | .num_pads = ARRAY_SIZE(tegra124_pads), | 1732 | .num_pads = ARRAY_SIZE(tegra124_pads), |
1726 | .pads = tegra124_pads, | 1733 | .pads = tegra124_pads, |
@@ -1743,6 +1750,8 @@ const struct tegra_xusb_padctl_soc tegra124_xusb_padctl_soc = { | |||
1743 | }, | 1750 | }, |
1744 | }, | 1751 | }, |
1745 | .ops = &tegra124_xusb_padctl_ops, | 1752 | .ops = &tegra124_xusb_padctl_ops, |
1753 | .supply_names = tegra124_xusb_padctl_supply_names, | ||
1754 | .num_supplies = ARRAY_SIZE(tegra124_xusb_padctl_supply_names), | ||
1746 | }; | 1755 | }; |
1747 | EXPORT_SYMBOL_GPL(tegra124_xusb_padctl_soc); | 1756 | EXPORT_SYMBOL_GPL(tegra124_xusb_padctl_soc); |
1748 | 1757 | ||