ufs: Add UFS driver for Renesas R-Car X5H
authorTuyen Dang <tuyen.dang.xa@renesas.com>
Tue, 28 Oct 2025 14:22:27 +0000 (15:22 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 28 Oct 2025 16:35:46 +0000 (17:35 +0100)
commit3351fe7ecc1ac717c23e9ad2c16e1fe4a7b84fd2
tree4d08b4cb49243c9a1da50b5db86886e329c0ba1a
parent4ced7e726490911de9a632ea13a55b6776c2e210
ufs: Add UFS driver for Renesas R-Car X5H

Add UFS driver for UFS controller present on Renesas R-Car X5H R8A78000.
The controller uses different initialization code compared to previous
generation UFS controller present in Renesas R-Car S4 R8A779F0, and the
majority of the driver is the initialization, hence a new driver.

[Marek: Clean driver up, add SCMI reset handling, use read_poll_timeout(),
        pass error values out of ufs_renesas_pre_init(), change the
compatible string to "renesas,r8a78000-ufs" to align with
previous generation "renesas,r8a779f0-ufs"]

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Tuyen Dang <tuyen.dang.xa@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251028142335.18125-7-marek.vasut+renesas@mailbox.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/ufs/Kconfig
drivers/ufs/Makefile
drivers/ufs/ufs-renesas-rcar-gen5.c [new file with mode: 0644]