mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 12:46:14 +02:00
Wire up the GPIO line which Rockchip RK3576 UFS controller uses to reset the connected UFS device. This seems necessary at least for some UFS modules and fixes the following error while enumerating UFS storage: ufshcd-rockchip ufshc@2a2d0000: ufshcd_link_startup: Device not present ufshcd-rockchip ufshc@2a2d0000: link startup failed -6 ufshcd-rockchip ufshc@2a2d0000: ufshcd_pltfrm_init() failed -6 Note that the GPIO descriptor for device resets is already required by the DT binding (link enclosed). Link: https://elixir.bootlin.com/linux/v6.18.5/source/Documentation/devicetree/bindings/ufs/rockchip,rk3576-ufshc.yaml#L70 Fixes: 76465ce21ee4 ("ufs: rockchip: Add initial support") Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Alexey Charkov <alchark@gmail.com> Link: https://patch.msgid.link/20260120-rk3576-ufs-v5-3-0edb61b301b7@gmail.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
96 lines
2.8 KiB
Plaintext
96 lines
2.8 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 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_CADENCE
|
|
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 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_QCOM
|
|
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 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.
|
|
|
|
config UFS_ROCKCHIP
|
|
bool "Rockchip specific hooks to UFS controller platform driver"
|
|
depends on UFS
|
|
depends on DM_GPIO
|
|
depends on RESET_ROCKCHIP
|
|
depends on SPL_DM_GPIO || !SPL_UFS_SUPPORT
|
|
depends on SPL_RESET_ROCKCHIP || !SPL_UFS_SUPPORT
|
|
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 UFS_TI_J721E
|
|
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.
|
|
|
|
endmenu
|