diff options
author | Subhash Jadavani <subhashj@codeaurora.org> | 2015-01-23 17:30:27 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:01:13 -0700 |
commit | a3baab3d3fdc6898982609af6b537ba6ece74988 (patch) | |
tree | e9c6457d686372fc4eb8b814d3a21c0f00aea92b | |
parent | 087e7bfd341fdecf51a74f657140be155505e7cd (diff) |
phy: qcom-ufs-qmp-14nm: add UFS_PHY_RX_PWM_GEAR_BAND to power up sequence
UFS_PHY_RX_PWM_GEAR_BAND configuration is changed after the power up
sequence so make sure that this register gets set to power on reset value
during power up sequence. This is required in case power up sequence is
initiated after this register value got changed to value other than power
on reset value.
Change-Id: Ied8ebf6dc181da9e877427420e1ee4476f1c442f
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
-rw-r--r-- | drivers/phy/phy-qcom-ufs-qmp-14nm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/phy/phy-qcom-ufs-qmp-14nm.h b/drivers/phy/phy-qcom-ufs-qmp-14nm.h index d4704cc28b6f..afd732af9fdc 100644 --- a/drivers/phy/phy-qcom-ufs-qmp-14nm.h +++ b/drivers/phy/phy-qcom-ufs-qmp-14nm.h @@ -178,6 +178,14 @@ static struct ufs_qcom_phy_calibration phy_cal_table_rate_A_2_0_0[] = { UFS_QCOM_PHY_CAL_ENTRY(QSERDES_RX_RX_EQ_GAIN2_LSB, 0xFF), UFS_QCOM_PHY_CAL_ENTRY(QSERDES_RX_RX_EQ_GAIN2_MSB, 0x0F), UFS_QCOM_PHY_CAL_ENTRY(QSERDES_RX_RX_EQU_ADAPTOR_CNTRL2, 0x0E), + /* + * UFS_PHY_RX_PWM_GEAR_BAND configuration is changed after the power up + * sequence so make sure that this register gets set to power on reset + * value. This is required in case power up sequence is initiated after + * this register value got changed to value other than power on reset + * value. + */ + UFS_QCOM_PHY_CAL_ENTRY(UFS_PHY_RX_PWM_GEAR_BAND, 0x55), }; /* |