summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2014-12-22 16:26:39 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-12-23 18:16:13 +0000
commit2d4b6d2f43e8cbe95514b449ab28a484ca276730 (patch)
treed651b892d41bcccd02adf6ddc7d4029ca225b002
parent4d9dfa159bec9d884fab0382efc145397c95766e (diff)
downloadchrome-ec-2d4b6d2f43e8cbe95514b449ab28a484ca276730.tar.gz
samus_pd: add internal pull-up to EC_IN_RW
Add internal pull-up to EC_IN_RW to match changes made in DVT. Doesn't affect earlier boards because a hardware bug prevented us from reading the correct state anyway. BUG=none BRANCH=samus TEST=make -j buildall Test on re-worked samus board with DVT changes. Tested PD MCU can read the correct state of the gpio. Change-Id: I27952022cfff2d1f7adcb93d4df47d63f1fd5470 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/237305 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r--board/samus_pd/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samus_pd/gpio.inc b/board/samus_pd/gpio.inc
index 8e6a100cd9..f06328938e 100644
--- a/board/samus_pd/gpio.inc
+++ b/board/samus_pd/gpio.inc
@@ -96,7 +96,7 @@ GPIO(MASTER_I2C_SDA, B, 11, GPIO_INPUT, NULL)
/* Case closed debugging. */
GPIO(EC_INT, B, 2, GPIO_OUT_LOW, NULL)
-GPIO(EC_IN_RW, C, 12, GPIO_INPUT, NULL)
+GPIO(EC_IN_RW, C, 12, GPIO_INPUT | GPIO_PULL_UP, NULL)
GPIO(EC_RST_L, C, 13, GPIO_OUT_HIGH, NULL)
GPIO(SPI_FLASH_CS_L, D, 0, GPIO_INPUT, NULL)
GPIO(SPI_FLASH_CSK, D, 1, GPIO_INPUT, NULL)