summaryrefslogtreecommitdiff
path: root/rust/helpers/io.c
diff options
context:
space:
mode:
authorPalash Kambar <quic_pkambar@quicinc.com>2025-08-18 09:39:05 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2025-09-09 22:34:41 -0400
commit3126b5fd02270380cce833d06f973a3ffb33a69b (patch)
tree132730a552593e16f8bdc6d2061c27e6bf8335e7 /rust/helpers/io.c
parent8791b07894ab75361195094828dc56b7ed449c36 (diff)
scsi: ufs: ufs-qcom: Align programming sequence of Shared ICE for UFS controller v5
Disabling the AES core in Shared ICE is not supported during power collapse for UFS Host Controller v5.0, which may lead to data errors after Hibern8 exit. To comply with hardware programming guidelines and avoid this issue, issue a sync reset to ICE upon power collapse exit. Hence follow below steps to reset the ICE upon exiting power collapse and align with Hw programming guide. a. Assert the ICE sync reset by setting both SYNC_RST_SEL and SYNC_RST_SW bits in UFS_MEM_ICE_CFG b. Deassert the reset by clearing SYNC_RST_SW in UFS_MEM_ICE_CFG Signed-off-by: Palash Kambar <quic_pkambar@quicinc.com> Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/io.c')
0 files changed, 0 insertions, 0 deletions