OpenCloudOS-Kernel/drivers/scsi/ufs
Yaniv Gardi b799fdf754 scsi: ufs: add device quirk delay before putting UFS rails in LPM
We put the UFS device in sleep state & UFS link in hibern8 state during
runtime suspend. After this we put all the UFS rails in low power
modes immediately but it seems some devices may still draw more than
sleep current from UFS rails (especially from VCCQ rail) at-least for
500us.
To avoid this situation, this change adds 2ms delay before putting
these UFS rails in LPM mode.

Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-03-14 21:04:45 -04:00
..
Kconfig scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component 2015-11-09 17:46:56 -05:00
Makefile ufs-qcom: add support for Qualcomm Technologies Inc platforms 2015-01-20 19:43:26 +01:00
ufs-qcom.c scsi: ufs-qcom: add number of lanes per direction 2016-03-14 21:04:45 -04:00
ufs-qcom.h scsi: ufs-qcom: add QUniPro hardware support and power optimizations 2015-11-09 18:03:55 -05:00
ufs.h scsi: ufs: disable vccq if it's not needed by UFS device 2016-03-14 21:04:45 -04:00
ufs_quirks.h scsi: ufs: add device quirk delay before putting UFS rails in LPM 2016-03-14 21:04:45 -04:00
ufshcd-pci.c SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-15 15:11:06 +01:00
ufshcd-pltfrm.c scsi: ufs-qcom: add number of lanes per direction 2016-03-14 21:04:45 -04:00
ufshcd-pltfrm.h scsi: ufs: make the UFS variant a platform device 2015-11-09 18:00:02 -05:00
ufshcd.c scsi: ufs: add device quirk delay before putting UFS rails in LPM 2016-03-14 21:04:45 -04:00
ufshcd.h scsi: ufs: tune UniPro parameters to optimize hibern8 exit time 2016-03-14 21:04:45 -04:00
ufshci.h scsi: ufs: tune UniPro parameters to optimize hibern8 exit time 2016-03-14 21:04:45 -04:00
unipro.h scsi: ufs: tune UniPro parameters to optimize hibern8 exit time 2016-03-14 21:04:45 -04:00