linux/drivers/scsi/ufs
Yaniv Gardi 3a4bf06d1f ufs: Active Power Mode - configuring bActiveICCLevel
The maximum power consumption in active is determined by bActiveICCLevel.
The configuration is done by reading max current supported by the
regulators connected to VCC, VCCQ and VCCQ2 rails on the boards, and
reading the current consumption levels from the device for each rails
(vcc/vccq/vccq2) using power descriptor.
We configure the bActiveICCLevel attribute, with the max value that
correspond to the minimum-of(VCC-current-level,VCCQ-current-level,
VCCQ2-current-level).
In order to minimize resume latency, pre-fetch icc levels and reference
clock during initialization and avoid reading them each link startup
during resume.

Signed-off-by: Raviv Shvili <rshvili@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-10-01 13:11:21 +02:00
..
Kconfig [SCSI] ufs: SCSI_UFSHCD should depend on SCSI_DMA 2013-06-04 11:16:20 -07:00
Makefile
ufs.h ufs: Active Power Mode - configuring bActiveICCLevel 2014-10-01 13:11:21 +02:00
ufshcd-pci.c ufs: Add clock initialization support 2014-10-01 13:11:19 +02:00
ufshcd-pltfrm.c ufs: add voting support for host controller power 2014-10-01 13:11:20 +02:00
ufshcd.c ufs: Active Power Mode - configuring bActiveICCLevel 2014-10-01 13:11:21 +02:00
ufshcd.h ufs: Active Power Mode - configuring bActiveICCLevel 2014-10-01 13:11:21 +02:00
ufshci.h ufs: adjust queue settings to PRDT limitations 2014-07-25 17:17:02 -04:00
unipro.h [SCSI] ufs: configure the attribute for power mode 2013-09-06 16:08:37 -07:00