ufs: rcar-gen5: Update line reset configuration

Synchronize line reset configuration with SDK 4.28 parameters.
These values are programmed into the PHY.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://patch.msgid.link/20260415215837.448867-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
Marek Vasut
2026-04-15 23:58:08 +02:00
committed by Neil Armstrong
parent c7ebdb9871
commit 1089ed95f5

View File

@@ -92,14 +92,14 @@ static int ufs_renesas_pre_init(struct ufs_hba *hba)
ufs_dme_command(hba, 0x00000002, 0x81010000, 0x00000000, 0x00000005);
ufs_dme_command(hba, 0x00000002, 0x81150000, 0x00000000, 0x00000001);
ufs_dme_command(hba, 0x00000002, 0x81180000, 0x00000000, 0x00000001);
ufs_dme_command(hba, 0x00000002, 0x80090000, 0x00000000, 0x00000000);
ufs_dme_command(hba, 0x00000002, 0x800a0000, 0x00000000, 0x000000c8);
ufs_dme_command(hba, 0x00000002, 0x80090001, 0x00000000, 0x00000000);
ufs_dme_command(hba, 0x00000002, 0x800a0001, 0x00000000, 0x000000c8);
ufs_dme_command(hba, 0x00000002, 0x800a0004, 0x00000000, 0x00000000);
ufs_dme_command(hba, 0x00000002, 0x800b0004, 0x00000000, 0x00000064);
ufs_dme_command(hba, 0x00000002, 0x800a0005, 0x00000000, 0x00000000);
ufs_dme_command(hba, 0x00000002, 0x800b0005, 0x00000000, 0x00000064);
ufs_dme_command(hba, 0x00000002, 0x80090000, 0x00000000, 0x0000000c);
ufs_dme_command(hba, 0x00000002, 0x800a0000, 0x00000000, 0x00000080);
ufs_dme_command(hba, 0x00000002, 0x80090001, 0x00000000, 0x0000000c);
ufs_dme_command(hba, 0x00000002, 0x800a0001, 0x00000000, 0x00000080);
ufs_dme_command(hba, 0x00000002, 0x800a0004, 0x00000000, 0x00000003);
ufs_dme_command(hba, 0x00000002, 0x800b0004, 0x00000000, 0x000000ea);
ufs_dme_command(hba, 0x00000002, 0x800a0005, 0x00000000, 0x00000003);
ufs_dme_command(hba, 0x00000002, 0x800b0005, 0x00000000, 0x000000ea);
ufs_dme_command(hba, 0x00000002, 0xd0850000, 0x00000000, 0x00000001);
writew(0x0001, priv->phy_base + 0x20000);