Skip to content

Commit 8bfa413

Browse files
shawn1221gregkh
authored andcommitted
arm64: dts: rockchip: Add mphy reset to ufshc node
[ Upstream commit 792c42d ] The mphy reset signal is used to reset the physical adapter. Resetting other components while leaving the mphy unreset may occasionally prevent the UFS controller from successfully linking up with the device. This addresses an intermittent hardware bug where the UFS link fails to establish under specific timing conditions with certain chips. While difficult to reproduce initially, this issue was consistently observed in downstream testing and requires explicit mphy reset control for full stability. Fixes: c75e5e0 ("scsi: arm64: dts: rockchip: Add UFS support for RK3576 SoC") Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Link: https://patch.msgid.link/1773277913-29580-1-git-send-email-shawn.lin@rock-chips.com Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 835d169 commit 8bfa413

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3576.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,8 +1829,9 @@
18291829
pinctrl-0 = <&ufs_refclk &ufs_rstgpio>;
18301830
pinctrl-names = "default";
18311831
resets = <&cru SRST_A_UFS_BIU>, <&cru SRST_A_UFS_SYS>,
1832-
<&cru SRST_A_UFS>, <&cru SRST_P_UFS_GRF>;
1833-
reset-names = "biu", "sys", "ufs", "grf";
1832+
<&cru SRST_A_UFS>, <&cru SRST_P_UFS_GRF>,
1833+
<&cru SRST_MPHY_INIT>;
1834+
reset-names = "biu", "sys", "ufs", "grf", "mphy";
18341835
reset-gpios = <&gpio4 RK_PD0 GPIO_ACTIVE_LOW>;
18351836
status = "disabled";
18361837
};

0 commit comments

Comments
 (0)