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>
This commit is contained in:

committed by
Kishon Vijay Abraham I

parent
5311a7b895
commit
a630d54dfa
@@ -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,
|
||||
|
Reference in New Issue
Block a user