[PATCH v1 00/10] Enhance UFS Mediatek Driver

peter.wang at mediatek.com peter.wang at mediatek.com
Thu Sep 18 03:36:10 PDT 2025


From: Peter Wang <peter.wang at mediatek.com>

Improves the UFS Mediatek driver by fixing runtime suspend
deadlocks, correcting clock scaling with PM QoS, and adjusting
power management flows. It addresses shutdown/suspend race 
conditions, enables MCQ mode interrupts, and removes redundant
functions. Support for new platforms is added with the 
MMIO_OTSD_CTRL register, and MT6991 performance is optimized
with MRTT and random improvements. These changes collectively 
enhance driver performance, stability, and compatibility.

Peter Wang (8):
  ufs: host: mediatek: Fix runtime suspend error deadlock
  ufs: host: mediatek: Correct clock scaling with PM QoS flow
  ufs: host: mediatek: Adjust clock scaling for PM flow
  ufs: host: mediatek: Handle clock scaling for high gear in PM flow
  ufs: host: mediatek: Adjust sync length for FASTAUTO mode
  ufs: host: mediatek: Fix shutdown/suspend race condition
  ufs: host: mediatek: Remove duplicate function
  ufs: host: mediatek: Add support for new platform with MMIO_OTSD_CTR

Alice Chao (1):
  ufs: host: mediatek: Enable interrupts for MCQ mode

Naomi Chu (1):
  ufs: host: mediatek: Support new feature for MT6991

 drivers/ufs/core/ufs-sysfs.c    |   3 +-
 drivers/ufs/core/ufshcd-priv.h  |   5 --
 drivers/ufs/core/ufshcd.c       |  18 +----
 drivers/ufs/host/ufs-mediatek.c | 134 ++++++++++++++++++++++++++------
 drivers/ufs/host/ufs-mediatek.h |   7 ++
 include/ufs/ufshcd.h            |  20 +++++
 include/ufs/unipro.h            |   7 +-
 7 files changed, 150 insertions(+), 44 deletions(-)

-- 
2.45.2




More information about the Linux-mediatek mailing list