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:
Harry Yang <harryy@codeaurora.org>
Loading
Please register or sign in to comment