summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2017-11-09 17:03:06 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2017-11-13 21:28:53 +0000
commit18094a44dc09622811564da1e7e2ed109cbfc993 (patch)
treef0f7de91c7ddebb4e346a6e3670e2a2d94de281a
parent2605737c41d42c304371e8c126f28359b28d9dbd (diff)
downloadchrome-ec-18094a44dc09622811564da1e7e2ed109cbfc993.tar.gz
coral: Change GPIO_USB_C1_PD_RST_ODL to be ODR_HIGH
The reset line for the parade TCPC on port 1, has an external 1k pull up resistor. However, the gpio.inc description for this line was set to ODR_LOW which results in a short reset pulse. This can lead to an external charger seeing an unattach event and dropping VBUS. On some Coral systems with certain chargers this results in a continuous reboot loop when no battery is connected. Changing the default state of this line to ODR_HIGH prevents reset from being pulled low until the EC is intializing the TCPC and fixes the continous reboot loop issue when no battery is connected. BUG=b:68226308 BRANCH=coral TEST=Using Robo system tested with the Lenovo Type C charger and verified that the system can boot up without a battery when connected to port 1. Bitland also verified this change in their test setup and found no failures. Change-Id: Ia16fe8cf770dc91da479497d234a2b6f9679b878 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/762066 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit 7866056f7f40592817d544954a8ba2132b834334) Reviewed-on: https://chromium-review.googlesource.com/767158 Commit-Queue: Scott Collyer <scollyer@chromium.org> Trybot-Ready: Scott Collyer <scollyer@chromium.org>
-rw-r--r--board/coral/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/coral/gpio.inc b/board/coral/gpio.inc
index 642e1fb8d4..b9d4e15db0 100644
--- a/board/coral/gpio.inc
+++ b/board/coral/gpio.inc
@@ -121,7 +121,7 @@ GPIO(USB1_ENABLE, PIN(0, 0), GPIO_OUT_HIGH)
GPIO(EN_USB_TCPC_PWR, PIN(C, 3), GPIO_OUT_LOW)
GPIO(USB_C0_PD_RST_L, PIN(0, 3), GPIO_OUT_LOW) /* USB_C0_PD_RST_L */
-GPIO(USB_C1_PD_RST_ODL, PIN(7, 4), GPIO_ODR_LOW)
+GPIO(USB_C1_PD_RST_ODL, PIN(7, 4), GPIO_ODR_HIGH)
/*
* Configure as input to enable @ 1.5A, output-low to turn off, or output-high