summaryrefslogtreecommitdiffstats
path: root/drivers/phy/tegra/xusb.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-02-21 16:46:33 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2019-04-17 14:12:45 +0530
commita630d54dfa937a937e3faf172ca41b9bd2647c72 (patch)
tree99cd9693ea66fc0134fa452b1659b6d16dc57839 /drivers/phy/tegra/xusb.h
parent5311a7b89502592045812f97294f756b1fca132b (diff)
downloadlinux-stable-a630d54dfa937a937e3faf172ca41b9bd2647c72.tar.gz
linux-stable-a630d54dfa937a937e3faf172ca41b9bd2647c72.tar.bz2
linux-stable-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.h5
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,