diff options
| author | Subhash Jadavani <subhashj@codeaurora.org> | 2015-01-21 17:17:21 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:58:39 -0700 |
| commit | e77d1e1a1dd2421fad02ddc7cac054bd53f0461e (patch) | |
| tree | ff54690813e0bb3aba2b479ced518b9955ee55cb /include | |
| parent | aa161ba54d4d002c0ca5f44fadfd7c090c00a670 (diff) | |
phy: ufs-qcom: disable RX LineCfg
Some UFS devices send incorrect LineCfg data as part of power mode change
sequence which may cause host PHY to go into bad state. Currently we
workaround this issue by disabling the device's TX LCC but disabling TX
LCC is much more complicated if both host and device supports UniPro 1.6
specification. To simplify the workaround, this change disables the host
PHY's RX LineCfg to skip processing incorrect LineCfg from device.
Change-Id: I1eac56c11dd001eb0c53ba8e16aa512a656ab9ea
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
[venkatg@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/phy/phy-qcom-ufs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy/phy-qcom-ufs.h b/include/linux/phy/phy-qcom-ufs.h index 8153cc7ab966..e0695a9a8bec 100644 --- a/include/linux/phy/phy-qcom-ufs.h +++ b/include/linux/phy/phy-qcom-ufs.h @@ -53,6 +53,7 @@ int ufs_qcom_phy_enable_iface_clk(struct phy *phy); void ufs_qcom_phy_disable_iface_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_ctrl_rx_linecfg(struct phy *generic_phy, bool ctrl); 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, |
