diff options
author | Roger Quadros <rogerq@ti.com> | 2014-07-04 12:55:45 +0300 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-07-22 12:46:10 +0530 |
commit | 3be88125d85df587085b0be0a5c0e9953eb5ed6b (patch) | |
tree | c0fd6fcb0c03681d6442381480e6f30c8d6f250d /include/linux/phy | |
parent | 016e0d3cb72c1433810fd85a7a7c0946e710d3d6 (diff) | |
download | linux-3be88125d85df587085b0be0a5c0e9953eb5ed6b.tar.gz |
phy: core: Support regulator supply for PHY power
Some PHYs can be powered by an external power regulator.
e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a
power regulator.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'include/linux/phy')
-rw-r--r-- | include/linux/phy/phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 2760744cb2a7..9a8694524742 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -18,6 +18,7 @@ #include <linux/of.h> #include <linux/device.h> #include <linux/pm_runtime.h> +#include <linux/regulator/consumer.h> struct phy; @@ -65,6 +66,7 @@ struct phy { int init_count; int power_count; struct phy_attrs attrs; + struct regulator *pwr; }; /** |