diff options
author | Roger Quadros <rogerq@ti.com> | 2014-02-22 10:53:40 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-22 15:35:43 -0500 |
commit | 21b5faeec229d4f70a7f60a7b0b065c98198f491 (patch) | |
tree | 5d85aec26355adea114e096654c4d3fb15a49086 /drivers/ata/ahci.h | |
parent | 42a7f53ba0f2baa2ea23cd830511cea7f8612dd2 (diff) |
ata: ahci_platform: Manage SATA PHY
Some platforms have a PHY hooked up to the SATA controller. The PHY
needs to be initialized and powered up for SATA to work. We do that
using the PHY framework.
tj: Minor comment formatting updates.
CC: Balaji T K <balajitk@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo<tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci.h')
-rw-r--r-- | drivers/ata/ahci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index bf8100c51142..3ab7ac9bb6a7 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h | |||
@@ -37,6 +37,7 @@ | |||
37 | 37 | ||
38 | #include <linux/clk.h> | 38 | #include <linux/clk.h> |
39 | #include <linux/libata.h> | 39 | #include <linux/libata.h> |
40 | #include <linux/phy/phy.h> | ||
40 | #include <linux/regulator/consumer.h> | 41 | #include <linux/regulator/consumer.h> |
41 | 42 | ||
42 | /* Enclosure Management Control */ | 43 | /* Enclosure Management Control */ |
@@ -325,6 +326,7 @@ struct ahci_host_priv { | |||
325 | u32 em_msg_type; /* EM message type */ | 326 | u32 em_msg_type; /* EM message type */ |
326 | struct clk *clks[AHCI_MAX_CLKS]; /* Optional */ | 327 | struct clk *clks[AHCI_MAX_CLKS]; /* Optional */ |
327 | struct regulator *target_pwr; /* Optional */ | 328 | struct regulator *target_pwr; /* Optional */ |
329 | struct phy *phy; /* If platform uses phy */ | ||
328 | void *plat_data; /* Other platform data */ | 330 | void *plat_data; /* Other platform data */ |
329 | /* | 331 | /* |
330 | * Optional ahci_start_engine override, if not set this gets set to the | 332 | * Optional ahci_start_engine override, if not set this gets set to the |