public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/2] scsi: ufs: Implement Quirks for Samsung UFS Devices
@ 2025-04-11 12:16 Manish Pandey
  2025-04-11 12:16 ` [PATCH V3 1/2] ufs: qcom: Add quirks for Samsung UFS devices Manish Pandey
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Manish Pandey @ 2025-04-11 12:16 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, Manivannan Sadhasivam
  Cc: Alim Akhtar, Avri Altman, Bart Van Assche, linux-scsi,
	linux-kernel, linux-arm-msm, quic_nitirawa, quic_bhaskarv,
	quic_rampraka, quic_cang, quic_nguyenb

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-22  1:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11 12:16 [PATCH V3 0/2] scsi: ufs: Implement Quirks for Samsung UFS Devices Manish Pandey
2025-04-11 12:16 ` [PATCH V3 1/2] ufs: qcom: Add quirks for Samsung UFS devices Manish Pandey
2025-04-11 15:33   ` Bean Huo
2025-04-11 12:16 ` [PATCH V3 2/2] scsi: ufs: introduce quirk to extend PA_HIBERN8TIME for " Manish Pandey
2025-04-11 15:42   ` Bean Huo
2025-04-11 17:21 ` [PATCH V3 0/2] scsi: ufs: Implement Quirks for Samsung UFS Devices Manivannan Sadhasivam
2025-04-12 10:28 ` Martin K. Petersen
2025-04-22  1:58 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox