diff options
author | Vivek Gautam <vivek.gautam@codeaurora.org> | 2017-10-12 11:49:36 +0530 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2017-10-23 11:19:27 +0530 |
commit | 052553af6a31b459adfdc6fd1eebced75de332fc (patch) | |
tree | df42d5791e9d0f36d53e76790baf99473aacc284 /include/linux/phy | |
parent | e9dc42c70c003746f2b541114f1fa19dc0ab232d (diff) | |
download | op-kernel-dev-052553af6a31b459adfdc6fd1eebced75de332fc.zip op-kernel-dev-052553af6a31b459adfdc6fd1eebced75de332fc.tar.gz |
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.h | 3 |
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 35c070e..0a2c18a 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); */ void ufs_qcom_phy_disable_dev_ref_clk(struct phy *phy); -int ufs_qcom_phy_start_serdes(struct phy *phy); int ufs_qcom_phy_set_tx_lane_enable(struct phy *phy, u32 tx_lanes); -int ufs_qcom_phy_calibrate_phy(struct phy *phy, bool is_rate_B); -int ufs_qcom_phy_is_pcs_ready(struct phy *phy); void ufs_qcom_phy_save_controller_version(struct phy *phy, u8 major, u16 minor, u16 step); |