ufs: Add MediaTek UFS driver
authorIgor Belwon <igor.belwon@mentallysanemainliners.org>
Sat, 11 Oct 2025 19:10:06 +0000 (21:10 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 28 Oct 2025 16:22:52 +0000 (17:22 +0100)
commit6cca3db2bd91ce1e5d812a61c13f1f62a2c2b82d
tree178856be2bc59b272912b5bc9a909b57c3258dbf
parent200e3f893fbc2915797b466043bbcb19000d821a
ufs: Add MediaTek UFS driver

Add the UFS driver for MediaTek platforms.

Loosely based on the Linux driver, this UFS driver can successfully get a
link and R/W access to the UFS chip on the MediaTek MT6878 mobile SoC,
when U-Boot is running as lk, or as the kernel (Secure world access is
not tested)

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Link: https://patch.msgid.link/20251011-mtk-ufs-uboot-v1-3-a05f991ee150@mentallysanemainliners.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/ufs/Kconfig
drivers/ufs/Makefile
drivers/ufs/ufs-mediatek-sip.h [new file with mode: 0644]
drivers/ufs/ufs-mediatek.c [new file with mode: 0644]
drivers/ufs/ufs-mediatek.h [new file with mode: 0644]