Skip to content

ufs: add delay for VCC ramp-up stability

[email protected] linux-arm-kernel linux-mediatek linux-scsi lkml 2 versions – Applied

Status from this message: Applied to 7.1/scsi-queue, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Fix typos and wording issues.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2ufs: core: Add quirks for VCC ramp-up delaydrivers/ufs/core/ufshcd.c include/ufs/ufshcd.h+18 -02 replies
2/2ufs: host: mediatek: Add VCC on delay for stabilitydrivers/ufs/host/ufs-mediatek.c drivers/ufs/host/ufs-mediatek.h+15 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBart Van Assche
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] ufs: add delay for VCC ramp-up stability

From: Ed Tsai <[email protected]>

Hi,

This patch series resolves a link stability issue found on our certain platforms where the VCC regulator has a slow ramp-up time.

To fix this, a delay is needed after VCC is turned on. The solution is implemented in two parts:

1. Introduce the new host quirks, UFSHCD_QUIRK_VCC_ON_DELAY.
2. Apply in our new platform with UFS5 device to ensure the VCC is ready before we enable the clocks.

Changes in v2:
- Fix typos and wording issues.

Ed Tsai (2):
ufs: core: Add quirks for VCC ramp-up delay
ufs: host: mediatek: Add VCC on delay for stability

 drivers/ufs/core/ufshcd.c       | 12 ++++++++++++
 drivers/ufs/host/ufs-mediatek.c | 11 +++++++++++
 drivers/ufs/host/ufs-mediatek.h |  4 ++++
 include/ufs/ufshcd.h            |  6 ++++++
 4 files changed, 33 insertions(+)
Signature · 1 line
2.45.2