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

ed.tsai at mediatek.com ed.tsai at mediatek.com
Mon Mar 9 17:52:26 PDT 2026


From: Ed Tsai <ed.tsai at mediatek.com>

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(+)

-- 
2.45.2




More information about the Linux-mediatek mailing list