diff options
| -rw-r--r-- | drivers/scsi/ufs/ufs-tegra.c | 4 | ||||
| -rw-r--r-- | drivers/scsi/ufs/ufs-tegra.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-tegra.c b/drivers/scsi/ufs/ufs-tegra.c index 42a8ffef1..851eb68a9 100644 --- a/drivers/scsi/ufs/ufs-tegra.c +++ b/drivers/scsi/ufs/ufs-tegra.c | |||
| @@ -1065,6 +1065,10 @@ static void ufs_tegra_unipro_pre_linkup(struct ufs_hba *hba) | |||
| 1065 | { | 1065 | { |
| 1066 | /* Unipro LCC disable */ | 1066 | /* Unipro LCC disable */ |
| 1067 | ufshcd_dme_set(hba, UIC_ARG_MIB(PA_Local_TX_LCC_Enable), 0x0); | 1067 | ufshcd_dme_set(hba, UIC_ARG_MIB(PA_Local_TX_LCC_Enable), 0x0); |
| 1068 | /* Before link start configuration request from Host controller, | ||
| 1069 | * burst closure delay needs to be configured to 0 | ||
| 1070 | */ | ||
| 1071 | ufshcd_dme_set(hba, UIC_ARG_MIB(VS_TXBURSTCLOSUREDELAY), 0x0); | ||
| 1068 | } | 1072 | } |
| 1069 | 1073 | ||
| 1070 | static int ufs_tegra_link_startup_notify(struct ufs_hba *hba, | 1074 | static int ufs_tegra_link_startup_notify(struct ufs_hba *hba, |
diff --git a/drivers/scsi/ufs/ufs-tegra.h b/drivers/scsi/ufs/ufs-tegra.h index 3607990f6..f8cd4bafc 100644 --- a/drivers/scsi/ufs/ufs-tegra.h +++ b/drivers/scsi/ufs/ufs-tegra.h | |||
| @@ -81,6 +81,9 @@ | |||
| 81 | #define VS_DEBUGSAVECONFIGTIME_ST_SCT 0x3 | 81 | #define VS_DEBUGSAVECONFIGTIME_ST_SCT 0x3 |
| 82 | #define SET_ST_SCT(x) ((x) & 0x3) | 82 | #define SET_ST_SCT(x) ((x) & 0x3) |
| 83 | 83 | ||
| 84 | #define VS_TXBURSTCLOSUREDELAY 0xD084 | ||
| 85 | |||
| 86 | |||
| 84 | #define MPHY_ADDR_RANGE 0x1fc | 87 | #define MPHY_ADDR_RANGE 0x1fc |
| 85 | #define UFS_AUX_ADDR_RANGE 0x18 | 88 | #define UFS_AUX_ADDR_RANGE 0x18 |
| 86 | 89 | ||
