diff options
author | Keith Short <keithshort@chromium.org> | 2019-10-23 13:26:05 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-23 23:10:57 +0000 |
commit | 664d4e781063463923376bb9b557dc765d37b7e3 (patch) | |
tree | 5c0c8e8a46a618ead8feba53dc70a1066edc7e57 | |
parent | 2feafc63ea277f722b96742ebcee183e7f85f3dc (diff) | |
download | chrome-ec-664d4e781063463923376bb9b557dc765d37b7e3.tar.gz |
volteer: Add GPIO_LOCKED to EC_RST_ODL PSL input
BUG=b:143089106
BRANCH=none
TEST=make buildall
Change-Id: I38b9331f6d0707dcd5b19823153549bd5806969f
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1876891
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
-rw-r--r-- | board/volteer/gpio.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/volteer/gpio.inc b/board/volteer/gpio.inc index 2be8fd7bf3..e13240f281 100644 --- a/board/volteer/gpio.inc +++ b/board/volteer/gpio.inc @@ -45,8 +45,13 @@ UNIMPLEMENTED(PCH_DSW_PWROK) /* * GPIO_INT_BOTH is required for PSL wake from hibernate, but we don't need an * interrupt handler because it is automatically handled by the PSL. + * + * We need to lock the setting so this gpio can't be reconfigured to overdrive + * the real reset signal. (This is the PSL input pin not the real reset pin). */ -GPIO(EC_RST_ODL, PIN(0, 2), GPIO_INT_BOTH | GPIO_HIB_WAKE_HIGH) +GPIO(EC_RST_ODL, PIN(0, 2), GPIO_INT_BOTH | + GPIO_HIB_WAKE_HIGH | + GPIO_LOCKED) /* AP/PCH Signals */ GPIO(EC_PCH_SYS_PWROK, PIN(3, 7), GPIO_OUT_LOW) /* TODO - b/140556273 - implement support with power sequencing */ |