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

ed.tsai@mediatek.com posted 2 patches 1 month ago
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(+)
[PATCH v2 0/2] ufs: add delay for VCC ramp-up stability
Posted by ed.tsai@mediatek.com 1 month ago
From: Ed Tsai <ed.tsai@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
Re: [PATCH v2 0/2] ufs: add delay for VCC ramp-up stability
Posted by Martin K. Petersen 3 weeks, 3 days ago
On Tue, 10 Mar 2026 08:52:26 +0800, ed.tsai@mediatek.com wrote:

> 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.
> 
> [...]

Applied to 7.1/scsi-queue, thanks!

[1/2] ufs: core: Add quirks for VCC ramp-up delay
      https://git.kernel.org/mkp/scsi/c/6ab94d0194dd
[2/2] ufs: host: mediatek: Add VCC on delay for stability
      https://git.kernel.org/mkp/scsi/c/20ca5460e5f9

-- 
Martin K. Petersen