aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy
diff options
context:
space:
mode:
authorVivek Gautam <vivek.gautam@codeaurora.org>2017-10-12 02:19:36 -0400
committerKishon Vijay Abraham I <kishon@ti.com>2017-10-23 01:49:27 -0400
commit052553af6a31b459adfdc6fd1eebced75de332fc (patch)
treedf42d5791e9d0f36d53e76790baf99473aacc284 /include/linux/phy
parente9dc42c70c003746f2b541114f1fa19dc0ab232d (diff)
ufs/phy: qcom: Refactor to use phy_init call
Refactor ufs_qcom_power_up_sequence() to get rid of ugly exported phy APIs and use the phy_init() and phy_power_on() to do the phy initialization. Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'include/linux/phy')
-rw-r--r--include/linux/phy/phy-qcom-ufs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/phy/phy-qcom-ufs.h b/include/linux/phy/phy-qcom-ufs.h
index 35c070ea6ea3..0a2c18a9771d 100644
--- a/include/linux/phy/phy-qcom-ufs.h
+++ b/include/linux/phy/phy-qcom-ufs.h
@@ -31,10 +31,7 @@ void ufs_qcom_phy_enable_dev_ref_clk(struct phy *phy);
31 */ 31 */
32void ufs_qcom_phy_disable_dev_ref_clk(struct phy *phy); 32void ufs_qcom_phy_disable_dev_ref_clk(struct phy *phy);
33 33
34int ufs_qcom_phy_start_serdes(struct phy *phy);
35int ufs_qcom_phy_set_tx_lane_enable(struct phy *phy, u32 tx_lanes); 34int ufs_qcom_phy_set_tx_lane_enable(struct phy *phy, u32 tx_lanes);
36int ufs_qcom_phy_calibrate_phy(struct phy *phy, bool is_rate_B);
37int ufs_qcom_phy_is_pcs_ready(struct phy *phy);
38void ufs_qcom_phy_save_controller_version(struct phy *phy, 35void ufs_qcom_phy_save_controller_version(struct phy *phy,
39 u8 major, u16 minor, u16 step); 36 u8 major, u16 minor, u16 step);
40 37