mbox series

[v2,0/6] scsi: ufs: add MediaTek vendor implementations

Message ID 1577683950-1702-1-git-send-email-stanley.chu@mediatek.com (mailing list archive)
Headers show
Series scsi: ufs: add MediaTek vendor implementations | expand

Message

Stanley Chu Dec. 30, 2019, 5:32 a.m. UTC
Hi,

This series provides MediaTek vendor implementations as below,

    - Device reset
    - Reference clock control
    - Auto-hibernate enabling with customized timer value
    - Clk-gating enabling with customized delayed timer value

v1 -> v2:
    - Move MTK_SIP_UFS_CONTROL to ufs-mediatek.h and make include/linux/soc/mediatek/mtk_sip_svc.h has common definitions only (Alim)
    - Remove dummy "line change" for MTK_SIP_UFS_CONTROL definition
    - Refactor UFS SMC calls in ufs-mediatek.c

Stanley Chu (6):
  soc: mediatek: add header for SiP service interface
  scsi: ufs-mediatek: add device reset implementation
  scsi: ufs-mediatek: introduce reference clock control
  scsi: ufs: export ufshcd_auto_hibern8_update for vendor usage
  scsi: ufs-mediatek: configure customized auto-hibern8 timer
  scsi: ufs-mediatek: configure and enable clk-gating

 drivers/scsi/ufs/ufs-mediatek.c          | 125 ++++++++++++++++++++++-
 drivers/scsi/ufs/ufs-mediatek.h          |  27 +++++
 drivers/scsi/ufs/ufs-sysfs.c             |  20 ----
 drivers/scsi/ufs/ufshcd.c                |  18 ++++
 drivers/scsi/ufs/ufshcd.h                |   1 +
 include/linux/soc/mediatek/mtk_sip_svc.h |  25 +++++
 6 files changed, 192 insertions(+), 24 deletions(-)
 create mode 100644 include/linux/soc/mediatek/mtk_sip_svc.h

Comments

Martin K. Petersen Jan. 3, 2020, 2:59 a.m. UTC | #1
Stanley,

> This series provides MediaTek vendor implementations as below,
>
>     - Device reset
>     - Reference clock control
>     - Auto-hibernate enabling with customized timer value
>     - Clk-gating enabling with customized delayed timer value

Applied to 5.6/scsi-queue, thanks!