]> git.ipfire.org Git - thirdparty/u-boot.git/commit
ufs: rockchip: Make use of controller resets
authorAlexey Charkov <alchark@flipper.net>
Mon, 16 Mar 2026 16:50:45 +0000 (20:50 +0400)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 22 Apr 2026 08:03:54 +0000 (10:03 +0200)
commitc7299ff33ebfabe35baa6656590d977dedfba5b0
treeaacc642753dda404ce60f3d6d80e27e05affcabd
parent052988aa29bfd506d7ce207fbb3f5374a5dbecbb
ufs: rockchip: Make use of controller resets

Assert Rockchip UFS controller resets during initialization and HCE
enable, as it is done by the Linux driver.

This is required to make some UFS chips, such as Foresee FEUDNN064G-C2G0,
work properly.

Note that the resets were already requested in the probe function, just
not used.

Signed-off-by: Alexey Charkov <alchark@flipper.net>
Link: https://patch.msgid.link/20260316-rockchip-ufs-reset-v1-1-808eb017459a@flipper.net
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/ufs/ufs-rockchip.c