[PATCH v3 0/4] MediaTek UFS vendor implemenation part III and Auto-Hibern8 fix

Stanley Chu
2020-01-29T07:40:04Z

Hi,

This series provides MediaTek vendor implementations and some general fixes.

- General fixes
- Fix Auto-Hibern8 error detection

- MediaTek vendor implementations
- Ensure UniPro is powered on before every link startup
- Support linkoff state during suspend
- Gate reference clock for Auto-Hibern8 case

v2 -> v3
- Squash below patches to a single patch (Bean)
- scsi: ufs: add ufshcd_is_auto_hibern8_enabled facility
- scsi: ufs: fix auto-hibern8 error detection
- Add Fixes tag in patch "scsi: ufs: fix Auto-Hibern8 error detection" (Bean)
- Rename VS_LINK_HIBER8 to VS_LINK_HIBERN8 in patch "scsi: ufs-mediatek: gate ref-clk during Auto-Hibern8"

v1 -> v2
- Fix and refine commit messages.

Stanley Chu (4):
scsi: ufs-mediatek: ensure UniPro is not powered down before linkup
scsi: ufs-mediatek: support linkoff state during suspend
scsi: ufs: fix Auto-Hibern8 error detection
scsi: ufs-mediatek: gate ref-clk during Auto-Hibern8

drivers/scsi/ufs/ufs-mediatek.c | 67 +++++++++++++++++++++------------
drivers/scsi/ufs/ufs-mediatek.h | 12 ++++++
drivers/scsi/ufs/ufshcd.c | 3 +-
drivers/scsi/ufs/ufshcd.h | 6 +++
4 files changed, 63 insertions(+), 25 deletions(-)