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

Skip to content
Commit 1a09f3e8 authored by Harry Yang's avatar Harry Yang Committed by Guru Das Srinagesh
Browse files

power: smb5: Fix ICL setting on Type-C/PD compliance failure



A Type-C/PD compliance case fails in that after PD contract at 100mA
is estabished, ~400 mA is drawn from VBUS which is over the requested
value.

Currently, PD can start its session as early as before/while APSD
is running. Before APSD is done, the 100mA (requested through USB51
mode) ICL request could be overridden by other settings, in this
case, which happens to be higher than 100mA.

Fix it by using ICL_OVERRIDE_BIT, which enforces the requested ICL
to be effective throughout the whole APSD process.

Also remove some power supply properties as they're not supposed to
be visible for any clients.

Change-Id: I1f06371d775a512c99a40550c20abd65bc99b676
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent 79579ba5
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