summaryrefslogtreecommitdiff
path: root/board/fleex
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2018-10-01 15:14:12 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-10-09 16:26:47 -0700
commitbb3f5b55257bf9ae1a0c695e4b8f870932137472 (patch)
tree700d9cdfa331d6bfd0a11646c88c0b24338592a8 /board/fleex
parente79a7346922507aa12ecf6f488921f7d57ca7a95 (diff)
downloadchrome-ec-bb3f5b55257bf9ae1a0c695e4b8f870932137472.tar.gz
Octopus: add reset logic for C0 TCPC
This change adds a call to the C0 TCPC reset for standalone TCPC boards which have that pin hooked up in hardware, and adds the GPIO as unimplemented for boards which do not have this yet. BRANCH=None BUG=b:112756630 TEST=Added a log print and rebooted EC on bobba to verify TCPC C0 reset, then verified that charging on C0 worked. Also imaged yorp proto 2 and rebooted, verifying C0 reset was not attempted. Change-Id: I615861f0d9ce9b5a89692e3982ed2e19c7e0b237 Signed-off-by: Diana Z <dzigterman@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1257647 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/fleex')
-rw-r--r--board/fleex/gpio.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/fleex/gpio.inc b/board/fleex/gpio.inc
index 99e71c32a4..294d2ce1b5 100644
--- a/board/fleex/gpio.inc
+++ b/board/fleex/gpio.inc
@@ -116,8 +116,6 @@ GPIO(EN_USB_A1_5V, PIN(9, 6), GPIO_OUT_LOW) /* Enable A1 5V Charging */
GPIO(USB_A0_CHARGE_EN_L, PIN(A, 2), GPIO_OUT_HIGH) /* Enable A0 1.5A Charging */
GPIO(USB_A1_CHARGE_EN_L, PIN(A, 0), GPIO_OUT_HIGH) /* Enable A1 1.5A Charging */
/*
- * TODO(b/112756630): octopus: add reset logic for C0 TCPC
- *
* Proto USB2_OTG_ID pin
* Configure as default since on proto boards this pin should not be driven high
*/