[PATCH V3 0/2] scsi: ufs: Implement Quirks for Samsung UFS Devices

Manish Pandey
2025-04-11T12:17:04Z

Introduce quirks for Samsung UFS devices to modify the PA TX HSG1 sync
length and TX_HS_EQUALIZER settings on the Qualcomm UFS Host controller.

Additionally, Samsung UFS devices require extra time in hibern8 mode
before exiting, beyond the standard handshaking phase between the host
and device. Introduce a quirk to increase the PA_HIBERN8TIME parameter
by 100 µs to ensure a proper hibernation process.
---
Changes in V3
- Addressed Mani's comment and updated commit message.
- used BIT macro in ufs-qcom.h to define quirks.
Changes in V2
- Split patches to add PA_HIBERN8TIME quirk in ufshcd.c

---
Manish Pandey (2):
ufs: qcom: Add quirks for Samsung UFS devices
scsi: ufs: introduce quirk to extend PA_HIBERN8TIME for UFS devices

drivers/ufs/core/ufshcd.c | 29 +++++++++++++++++++++++++
drivers/ufs/host/ufs-qcom.c | 43 +++++++++++++++++++++++++++++++++++++
drivers/ufs/host/ufs-qcom.h | 18 ++++++++++++++++
include/ufs/ufs_quirks.h | 6 ++++++
4 files changed, 96 insertions(+)

--
2.17.1