scsi: ufs-qcom: update phy revision information
Update phy revision information before calling phy_init(), so that phy driver can perform revision specific configurations. Change-Id: I834306851e30a203705ad824fc142813b989abc5 Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
This commit is contained in:
parent
33569a19db
commit
5cb24d0d31
@ -2768,12 +2768,10 @@ static int ufs_qcom_init(struct ufs_hba *hba)
|
||||
}
|
||||
|
||||
/* update phy revision information before calling phy_init() */
|
||||
/*
|
||||
* FIXME:
|
||||
* ufs_qcom_phy_save_controller_version(host->generic_phy,
|
||||
* host->hw_ver.major, host->hw_ver.minor, host->hw_ver.step);
|
||||
*/
|
||||
err = ufs_qcom_parse_reg_info(host, "qcom,vddp-ref-clk",
|
||||
ufs_qcom_phy_save_controller_version(host->generic_phy,
|
||||
host->hw_ver.major, host->hw_ver.minor, host->hw_ver.step);
|
||||
|
||||
err = ufs_qcom_parse_reg_info(host, "qcom,vddp-ref-clk",
|
||||
&host->vddp_ref_clk);
|
||||
|
||||
err = phy_init(host->generic_phy);
|
||||
|
@ -11,6 +11,8 @@
|
||||
void ufs_qcom_phy_ctrl_rx_linecfg(struct phy *generic_phy, bool ctrl);
|
||||
void ufs_qcom_phy_set_tx_lane_enable(struct phy *generic_phy, u32 tx_lanes);
|
||||
void ufs_qcom_phy_dbg_register_dump(struct phy *generic_phy);
|
||||
void ufs_qcom_phy_save_controller_version(struct phy *generic_phy,
|
||||
u8 major, u16 minor, u16 step);
|
||||
|
||||
#endif /* PHY_QCOM_UFS_H_ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user