linux-stable/drivers/ufs/host
Peter Wang 87bd05016a scsi: ufs: core: Allow host driver to disable wb toggling during clock scaling
Mediatek UFS does not want to toggle write booster during clock scaling.
Permit host driver to disable wb toggling during clock scaling.

Introduce a flag UFSHCD_CAP_WB_WITH_CLK_SCALING to decouple WB and clock
scaling.  UFSHCD_CAP_WB_WITH_CLK_SCALING is only valid when
UFSHCD_CAP_CLK_SCALING is set. Just like UFSHCD_CAP_HIBERN8_WITH_CLK_GATING
is valid only when UFSHCD_CAP_CLK_GATING set.

Set UFSHCD_CAP_WB_WITH_CLK_SCALING for qcom to compatible legacy design at
the same time.

Link: https://lore.kernel.org/r/20220804025422.18803-1-peter.wang@mediatek.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-08-22 23:07:50 -04:00
..
cdns-pltfrm.c
Kconfig scsi: ufs: ufs-renesas: Add support for Renesas R-Car UFS controller 2022-06-13 21:57:34 -04:00
Makefile scsi: ufs: ufs-renesas: Add support for Renesas R-Car UFS controller 2022-06-13 21:57:34 -04:00
tc-dwc-g210-pci.c
tc-dwc-g210-pltfrm.c
tc-dwc-g210.c
tc-dwc-g210.h
ti-j721e-ufs.c
ufs-exynos.c scsi: ufs: ufs-exynos: Change ufs phy control sequence 2022-07-13 22:53:05 -04:00
ufs-exynos.h scsi: ufs: host: ufs-exynos: Add support for FSD UFS HCI 2022-06-13 21:57:33 -04:00
ufs-hisi.c
ufs-hisi.h
ufs-mediatek-trace.h scsi: ufs: ufs-mediatek: Support clk-scaling to optimize power consumption 2022-08-22 22:58:30 -04:00
ufs-mediatek.c scsi: ufs: ufs-mediatek: Support clk-scaling to optimize power consumption 2022-08-22 22:58:30 -04:00
ufs-mediatek.h scsi: ufs: ufs-mediatek: Support clk-scaling to optimize power consumption 2022-08-22 22:58:30 -04:00
ufs-qcom-ice.c
ufs-qcom.c scsi: ufs: core: Allow host driver to disable wb toggling during clock scaling 2022-08-22 23:07:50 -04:00
ufs-qcom.h
ufs-renesas.c scsi: ufs: ufs-renesas: Add support for Renesas R-Car UFS controller 2022-06-13 21:57:34 -04:00
ufshcd-dwc.c
ufshcd-dwc.h
ufshcd-pci.c scsi: ufs: ufs-pci: Correct check for RESET DSM 2022-08-01 19:38:06 -04:00
ufshcd-pltfrm.c SCSI misc on 20220804 2022-08-04 19:47:37 -07:00
ufshcd-pltfrm.h scsi: ufs: ufshcd-pltfrm: Constify pointed data 2022-06-27 22:26:45 -04:00
ufshci-dwc.h