[PATCH] scsi: ufs: rockchip: Improve RX noise immunity
Shawn Lin
shawn.lin at rock-chips.com
Thu Oct 29 00:24:55 PDT 2026
Program VND_RX_SAVE_DET_CTRL for each RX lane to raise the receiver's
tolerance against short transients on the incoming signal, as recommended
by the Rockchip PHY team.
Signed-off-by: Shawn Lin <shawn.lin at rock-chips.com>
---
drivers/ufs/host/ufs-rockchip.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ufs/host/ufs-rockchip.c b/drivers/ufs/host/ufs-rockchip.c
index bac68f238e1c..87308c9b1070 100644
--- a/drivers/ufs/host/ufs-rockchip.c
+++ b/drivers/ufs/host/ufs-rockchip.c
@@ -82,6 +82,7 @@ static int ufs_rockchip_rk3576_phy_init(struct ufs_hba *hba)
ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_LINERESET_PVALUE2, SEL_RX_LANE0 + i), 0x02);
ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_LINERESET_OPTION, SEL_RX_LANE0 + i), 0xf6);
ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_POWER_SAVING_CTRL, SEL_RX_LANE0 + i), 0x69);
+ ufshcd_dme_set(hba, UIC_ARG_MIB_SEL(VND_RX_SAVE_DET_CTRL, SEL_RX_LANE0 + i), 0x18);
}
/* disable the mphy DME_SET cfg */
--
2.25.1
More information about the Linux-rockchip
mailing list