summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2019-06-13 13:51:44 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-20 03:17:01 +0000
commitb1d81401eebb4444123cacac08e88ef6e38ee58d (patch)
tree4ab11b59705e6d590461e50af5f24c887cc595e4 /Makefile.toolchain
parent598c2c11d4024ed84fa1b185ef447c8a732c8535 (diff)
downloadchrome-ec-b1d81401eebb4444123cacac08e88ef6e38ee58d.tar.gz
servo_v4: Support dual-role port
Support a new flag to enable DRP. The do_cc() function becomes having 4 arguments. So change to merge them into a single cc_config with different bit masks. For the force_source or force_sink role, we explicitly set the the Rp or Rd resistors on CC lines. But for DRP role, the Rp/Rd toggling is controlled by the PD state machine. So don't set any CC pull resistor for DRP. Support an "on" option in "cc" command to restore the previous role before emulating detach. Add "usbc_action drp" to toggle the DRP state, which is compatible with Plankton. BRANCH=servo BUG=b:135691171 TEST=Ran the firmware_PDTrySrc test passed, and not break all the existing PD FAFT tests. Change-Id: I3b90611c9840f502e496c42f80354e7ee002f96e Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1682919 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'Makefile.toolchain')
0 files changed, 0 insertions, 0 deletions