summaryrefslogtreecommitdiff
path: root/include/gesture.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2014-10-14 14:07:03 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-18 07:38:22 +0000
commit5d4846ee520b6f1e743a6e58537a2ab2fac0cafc (patch)
treedef9472483cc0a51985b030169a6af30820ef780 /include/gesture.h
parent18cc8ab5fdb9f564397b7d8a10234606964e3cee (diff)
downloadchrome-ec-5d4846ee520b6f1e743a6e58537a2ab2fac0cafc.tar.gz
plankton: Implement cable flip
When the cable flip button is pressed, instead of only flipping on Plankton side, we should also signal the port partner to flip. This is done by sending a custom VDM. Upon receiving the flip VDM, the port partner is responsible of flipping the DP/USB polarity. Note that the "flip" here only affects the superspeed lanes. The CC lines polarity is not changed. We need this for factory test automation, and this "flip" function should only be used for testing purpose as it clearly violates the USB PD spec and it only works on devices that accept the custom flip VDM. BRANCH=Samus BUG=chrome-os-partner:32163 TEST=COnnect Plankton and Ryu. Press the button on Plankton and make sure the polarity GPIOs on Ryu are negated. Change-Id: I7ee5ea70067de4f422a7478623fe7fe8d3724372 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/223325 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/gesture.h')
0 files changed, 0 insertions, 0 deletions