Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a9043627 authored by Yaniv Gardi's avatar Yaniv Gardi
Browse files

scsi: 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).

Change-Id: I5ec09dc9b5039dcf816ca58bc1b63e3759c334ef
Signed-off-by: default avatarRaviv Shvili <rshvili@codeaurora.org>
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent 568a7d3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment