Skip to content

Commit

Permalink
ufs: ufs-amd-versal2: Add support for AMD UFS controller
Browse files Browse the repository at this point in the history
Add UFS AMD platform support on top of the UFS DWC
and UFS platform driver. UFS AMD platform requires
some platform specific configurations like M-PHY/RMMI/UniPro
and vendor specific registers programming before doing the LINKSTARTUP.

Signed-off-by: Venkatesh Yadav Abbarapu <[email protected]>
Message-ID: <[email protected]>
  • Loading branch information
Venkatesh Yadav Abbarapu authored and michalsimek committed Sep 20, 2024
1 parent 2c0ccc6 commit 2244ff4
Show file tree
Hide file tree
Showing 5 changed files with 557 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/ufs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ config UFS_RENESAS
UFS host on Renesas needs some vendor specific configuration before
accessing the hardware.

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.

endmenu
1 change: 1 addition & 0 deletions drivers/ufs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ obj-$(CONFIG_UFS) += ufs.o ufs-uclass.o
obj-$(CONFIG_CADENCE_UFS) += cdns-platform.o
obj-$(CONFIG_TI_J721E_UFS) += ti-j721e-ufs.o
obj-$(CONFIG_UFS_RENESAS) += ufs-renesas.o
obj-$(CONFIG_UFS_AMD_VERSAL2) += ufs-amd-versal2.o ufshcd-dwc.o
Loading

0 comments on commit 2244ff4

Please sign in to comment.