mbox series

[v5,00/11] scsi: ufs: Fix PMC and low-power mode on MediaTek UFS platforms

Message ID 20220616053725.5681-1-stanley.chu@mediatek.com (mailing list archive)
Headers show
Series scsi: ufs: Fix PMC and low-power mode on MediaTek UFS platforms | expand

Message

Stanley Chu June 16, 2022, 5:37 a.m. UTC
Hi Martin,

This series provides some fixes on MediaTek UFS platforms, please consider this patch series for kernel v5.20.

- Provide workaround for power mode change for HS-G5
- Fix and provide regulator features

Changes compared to v4:
- Add one patch to disable unused VCCQx
- Fix the invoking location of ufs_mtk_vreg_fix_vccqx()

Changes compared to v3:
- Rewrite and simplify SMC call wrappers
- Fix coding styles

Changes compared to v2:
- Add patches to support multiple VCC sources

Changes compared to v1:
- Add patches to fix and provide VCCQx low-power support

CC Chou (1):
  scsi: ufs-mediatek: Introduce workaround for power mode change

Peter Wang (1):
  scsi: ufs-mediatek: Support low-power mode for VCCQ

Po-Wen Kao (2):
  scsi: ufs-mediatek: Fix the timing of configuring device regulators
  scsi: ufs-mediatek: Prevent device regulators setting as LPM
    incorrectly

Stanley Chu (7):
  scsi: ufs: Export ufshcd_uic_change_pwr_mode()
  scsi: ufs: Fix ADAPT logic for HS-G5
  scsi: ufs-mediatek: Support flexible parameters for smc calls
  scsi: ufs-mediatek: Support low-power mode for parents of VCCQx
  scsi: ufs: Export regulator functions
  scsi: ufs-mediatek: Support multiple VCC sources
  scsi: ufs-mediatek: Disable unused VCCQx power rails

 drivers/ufs/core/ufshcd.c        |   8 +-
 drivers/ufs/host/ufs-mediatek.c  | 255 +++++++++++++++++++++++++++----
 drivers/ufs/host/ufs-mediatek.h  |  58 +++++++
 drivers/ufs/host/ufshcd-pltfrm.c |   5 +-
 drivers/ufs/host/ufshcd-pltfrm.h |   2 +
 include/ufs/ufshcd.h             |   3 +
 include/ufs/unipro.h             |   1 +
 7 files changed, 295 insertions(+), 37 deletions(-)

Comments

Martin K. Petersen June 17, 2022, 2:10 a.m. UTC | #1
Stanley,

> This series provides some fixes on MediaTek UFS platforms, please
> consider this patch series for kernel v5.20.

Applied to 5.20/scsi-staging, thanks!
Martin K. Petersen June 22, 2022, 2:10 a.m. UTC | #2
On Thu, 16 Jun 2022 13:37:14 +0800, Stanley Chu wrote:

> This series provides some fixes on MediaTek UFS platforms, please consider this patch series for kernel v5.20.
> 
> - Provide workaround for power mode change for HS-G5
> - Fix and provide regulator features
> 
> Changes compared to v4:
> - Add one patch to disable unused VCCQx
> - Fix the invoking location of ufs_mtk_vreg_fix_vccqx()
> 
> [...]

Applied to 5.20/scsi-queue, thanks!

[01/11] scsi: ufs: Export ufshcd_uic_change_pwr_mode()
        https://git.kernel.org/mkp/scsi/c/fc53683b45b0
[02/11] scsi: ufs: Fix ADAPT logic for HS-G5
        https://git.kernel.org/mkp/scsi/c/d81c4c6f7170
[03/11] scsi: ufs-mediatek: Introduce workaround for power mode change
        https://git.kernel.org/mkp/scsi/c/3f9b6cec12e2
[04/11] scsi: ufs-mediatek: Fix the timing of configuring device regulators
        https://git.kernel.org/mkp/scsi/c/3fd23b8dfb54
[05/11] scsi: ufs-mediatek: Prevent device regulators setting as LPM incorrectly
        https://git.kernel.org/mkp/scsi/c/005ffdf09cd3
[06/11] scsi: ufs-mediatek: Support low-power mode for VCCQ
        https://git.kernel.org/mkp/scsi/c/0836cc252a52
[07/11] scsi: ufs-mediatek: Support flexible parameters for smc calls
        https://git.kernel.org/mkp/scsi/c/bc602ae977f3
[08/11] scsi: ufs-mediatek: Support low-power mode for parents of VCCQx
        https://git.kernel.org/mkp/scsi/c/42b1928360a3
[09/11] scsi: ufs: Export regulator functions
        https://git.kernel.org/mkp/scsi/c/1d6f9decb60a
[10/11] scsi: ufs-mediatek: Support multiple VCC sources
        https://git.kernel.org/mkp/scsi/c/ece418d02911
[11/11] scsi: ufs-mediatek: Disable unused VCCQx power rails
        https://git.kernel.org/mkp/scsi/c/cb142b6d2f60