Skip to content

Commit 792c42d

Browse files
shawn1221mmind
authored andcommitted
arm64: dts: rockchip: Add mphy reset to ufshc node
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>
1 parent 8c2c730 commit 792c42d

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
@@ -1948,8 +1948,9 @@
19481948
pinctrl-0 = <&ufs_refclk &ufs_rstgpio>;
19491949
pinctrl-names = "default";
19501950
resets = <&cru SRST_A_UFS_BIU>, <&cru SRST_A_UFS_SYS>,
1951-
<&cru SRST_A_UFS>, <&cru SRST_P_UFS_GRF>;
1952-
reset-names = "biu", "sys", "ufs", "grf";
1951+
<&cru SRST_A_UFS>, <&cru SRST_P_UFS_GRF>,
1952+
<&cru SRST_MPHY_INIT>;
1953+
reset-names = "biu", "sys", "ufs", "grf", "mphy";
19531954
reset-gpios = <&gpio4 RK_PD0 GPIO_ACTIVE_LOW>;
19541955
status = "disabled";
19551956
};

0 commit comments

Comments
 (0)