diff options
| author | Nicholas Troast <ntroast@codeaurora.org> | 2017-03-14 09:06:56 -0700 |
|---|---|---|
| committer | Nicholas Troast <ntroast@codeaurora.org> | 2017-03-16 10:00:40 -0700 |
| commit | 437db3081b42f9e235a5cb9d42fa3a5626b3e551 (patch) | |
| tree | 31ddf7bc88bee5a944d909ec5f828a993b075da4 /kernel/trace/trace_functions_graph.c | |
| parent | 11a54fcfa4688a7e823cc04fb4b991cab595aa04 (diff) | |
power: smb-lib: always assume legacy cable and limit ICL
While in DRP the legacy cable detection may fail. When a legacy cable is
detected the legacy input current limits are enforced by hardware.
Always assume a legacy cable since the legacy cable detection will
fail in some cases. Manually enforce the legacy input current limits to
ensure USB stability and compliance. As a side effect, non-legacy 22k
ohm and 10k ohm Rp adapters will be current limited to legacy standards.
To realize this:
- Set a limit of 100mA as soon as type-c is connected and remove that
limit once PD is confirmed.
- If PD is not confirmed:
- SDP: Use 100mA vote until USB PHY updates it to 500/900mA
- CDP: Use 1.5A vote
- DCP: Use 1.5A vote
- HVDCP: Use 3A vote
Change-Id: I049a7ee2099acd9e58df1b9417847daec4854af5
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
