scsi: ufs: rockchip: modify MPHY configuration based on signal testing

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I6ec2bbf2e33279c3451ff91a55a8312da6d1c4c5
This commit is contained in:
Yifeng Zhao
2024-04-08 10:56:18 +08:00
committed by Tao Huang
parent 85ebb3a26d
commit 238ecdec05

View File

@@ -306,6 +306,12 @@ static int ufs_rockchip_rk3576_phy_init(struct ufs_hba *hba)
ufs_sys_writel(host->mphy_base, 0x18, 0x1B0);
ufs_sys_writel(host->mphy_base, 0x18, 0x2F0);
ufs_sys_writel(host->mphy_base, 0x03, 0x128);
ufs_sys_writel(host->mphy_base, 0x03, 0x268);
ufs_sys_writel(host->mphy_base, 0x20, 0x12C);
ufs_sys_writel(host->mphy_base, 0x20, 0x26C);
ufs_sys_writel(host->mphy_base, 0xC0, 0x120);
ufs_sys_writel(host->mphy_base, 0xC0, 0x260);