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

From: Stanley Chu
Date: Mon Dec 30 2019 - 00:33:20 EST


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

--
2.18.0