summaryrefslogtreecommitdiff
path: root/include/ufs
diff options
context:
space:
mode:
authorSai Krishna Potthuri <sai.krishna.potthuri@amd.com>2025-10-21 17:00:03 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2025-10-29 23:00:49 -0400
commit769b8b2ffded4cd880669edd83e2952efeeb27f7 (patch)
tree59638bab70cc114e4f10a3e1a2831d40a281f717 /include/ufs
parent0e4d26f79a74bc633846a27a9a20d52217c108dc (diff)
scsi: ufs: amd-versal2: Add UFS support for AMD Versal Gen 2 SoC
Add support for the UFS host controller on the AMD Versal Gen 2 SoC, built on the Synopsys DWC UFS architecture, using the UFSHCD DWC and UFSHCD platform driver. This controller requires specific configurations like M-PHY/RMMI/UniPro and vendor specific registers programming before doing the UIC_LINKSTARTUP. Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> Signed-off-by: Ajay Neeli <ajay.neeli@amd.com> Acked-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/20251021113003.13650-5-ajay.neeli@amd.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs')
-rw-r--r--include/ufs/unipro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ufs/unipro.h b/include/ufs/unipro.h
index 360e1245fb40..faf1c471ad30 100644
--- a/include/ufs/unipro.h
+++ b/include/ufs/unipro.h
@@ -174,6 +174,7 @@
#define VS_POWERSTATE 0xD083
#define VS_MPHYCFGUPDT 0xD085
#define VS_DEBUGOMC 0xD09E
+#define VS_MPHYDISABLE 0xD0C1
#define PA_GRANULARITY_MIN_VAL 1
#define PA_GRANULARITY_MAX_VAL 6