mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
92 lines
2.6 KiB
Plaintext
92 lines
2.6 KiB
Plaintext
menu "UFS Host Controller Support"
|
|
|
|
config UFS
|
|
bool "Support UFS controllers"
|
|
depends on SCSI
|
|
select CHARSET
|
|
help
|
|
This selects support for Universal Flash Subsystem (UFS).
|
|
Say Y here if you want UFS Support.
|
|
|
|
config CADENCE_UFS
|
|
bool "Cadence platform driver for UFS"
|
|
depends on UFS
|
|
help
|
|
This selects the platform driver for the Cadence UFS host
|
|
controller present on present TI's J721e devices.
|
|
|
|
config UFS_MEDIATEK
|
|
tristate "MediaTek UFS Host Controller Driver"
|
|
depends on UFS && ARCH_MEDIATEK
|
|
select PHY_MTK_UFS
|
|
help
|
|
This selects the MediaTek specific additions to UFSHCD platform driver.
|
|
UFS host on Mediatek needs some vendor specific configuration before
|
|
accessing the hardware which includes PHY configuration and vendor
|
|
specific registers.
|
|
|
|
Select this if you have UFS controller on MediaTek chipset.
|
|
|
|
If unsure, say N.
|
|
|
|
config QCOM_UFS
|
|
bool "Qualcomm Host Controller driver for UFS"
|
|
depends on UFS && ARCH_SNAPDRAGON
|
|
help
|
|
This selects the platform driver for the UFS host
|
|
controller present on Qualcomm Snapdragon SoCs.
|
|
|
|
config ROCKCHIP_UFS
|
|
bool "Rockchip specific hooks to UFS controller platform driver"
|
|
depends on UFS
|
|
help
|
|
This selects the Rockchip specific additions to UFSHCD platform driver.
|
|
|
|
Select this if you have UFS controller on Rockchip chipset.
|
|
If unsure, say N.
|
|
|
|
config TI_J721E_UFS
|
|
bool "Glue Layer driver for UFS on TI J721E devices"
|
|
help
|
|
This selects the glue layer driver for Cadence controller
|
|
present on TI's J721E devices.
|
|
|
|
config UFS_AMD_VERSAL2
|
|
bool "AMD Versal Gen 2 UFS controller platform driver"
|
|
depends on UFS && ZYNQMP_FIRMWARE
|
|
help
|
|
This selects the AMD specific additions to UFSHCD platform driver.
|
|
UFS host on AMD needs some vendor specific configuration before accessing
|
|
the hardware.
|
|
|
|
config UFS_PCI
|
|
bool "PCI bus based UFS Controller support"
|
|
depends on PCI && UFS
|
|
help
|
|
This selects the PCI UFS Host Controller Interface. Select this if
|
|
you have UFS Host Controller with PCI Interface.
|
|
|
|
If you have a controller with this interface, say Y here.
|
|
|
|
If unsure, say N.
|
|
|
|
config UFS_RENESAS
|
|
bool "Renesas R-Car S4 UFS Controller support"
|
|
depends on UFS
|
|
select BOUNCE_BUFFER
|
|
help
|
|
This selects the Renesas S4 specific additions to UFSHCD
|
|
platform driver. UFS host on Renesas needs some vendor
|
|
specific configuration before accessing the hardware.
|
|
|
|
config UFS_RENESAS_GEN5
|
|
bool "Renesas R-Car X5H UFS Controller support"
|
|
depends on UFS
|
|
select BOUNCE_BUFFER
|
|
help
|
|
This selects the Renesas X5H specific additions to UFSHCD
|
|
platform driver. UFS host on Renesas needs some vendor
|
|
specific configuration before accessing the hardware.
|
|
|
|
endmenu
|