diff options
author | Thierry Reding <treding@nvidia.com> | 2019-02-21 16:46:33 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-04-17 10:42:45 +0200 |
commit | a630d54dfa937a937e3faf172ca41b9bd2647c72 (patch) | |
tree | 99cd9693ea66fc0134fa452b1659b6d16dc57839 /drivers/phy/tegra/xusb.h | |
parent | phy: tegra: xusb: Parse dual-role mode property (diff) | |
download | linux-a630d54dfa937a937e3faf172ca41b9bd2647c72.tar.xz linux-a630d54dfa937a937e3faf172ca41b9bd2647c72.zip |
phy: tegra: xusb: Add support for power supplies
Support enabling various supplies needed to provide power to the PLLs
and logic used to drive the USB, PCI and SATA pads.
Reviewed-by: JC Kuo <jckuo@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/tegra/xusb.h')
-rw-r--r-- | drivers/phy/tegra/xusb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/phy/tegra/xusb.h b/drivers/phy/tegra/xusb.h index bb60fc09c752..5d5d22f6cb41 100644 --- a/drivers/phy/tegra/xusb.h +++ b/drivers/phy/tegra/xusb.h @@ -370,6 +370,9 @@ struct tegra_xusb_padctl_soc { } ports; const struct tegra_xusb_padctl_ops *ops; + + const char * const *supply_names; + unsigned int num_supplies; }; struct tegra_xusb_padctl { @@ -393,6 +396,8 @@ struct tegra_xusb_padctl { unsigned int enable; struct clk *clk; + + struct regulator_bulk_data *supplies; }; static inline void padctl_writel(struct tegra_xusb_padctl *padctl, u32 value, |