From 2d4b6d2f43e8cbe95514b449ab28a484ca276730 Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Mon, 22 Dec 2014 16:26:39 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/237305 Reviewed-by: Duncan Laurie --- board/samus_pd/gpio.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1