summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-12-08 14:36:13 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-12-08 22:47:19 -0800
commitf74c136a17e252c0c993ddeab2c2b71ca45f65ad (patch)
tree25a13654c13390b7513500a3251caef1d9cd2032
parent9d7d189450182a9da68b922a737c89bccbd81925 (diff)
downloadchrome-ec-f74c136a17e252c0c993ddeab2c2b71ca45f65ad.tar.gz
cr50: change uart rx to wake_low
Having cr50 resume on the falling edge of its uart rx signal is causing some issues, and wake on low is good enough and works fine. This change switches uart rx from DIO_WAKE_FALLING to DIO_WAKE_LOW BUG=chrome-os-partner:60449 BRANCH=none TEST=cr50 can still resume on uart activity and plugging in the charger has no impact on cr50 remaining in deep sleep. Change-Id: If77126cb64cf2fa949a75d53bb40098f037a2aa4 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/418335 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--board/cr50/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/gpio.inc b/board/cr50/gpio.inc
index d129763c09..cf87fcf2e8 100644
--- a/board/cr50/gpio.inc
+++ b/board/cr50/gpio.inc
@@ -78,7 +78,7 @@ PINMUX(GPIO(I2C_SCL_INA), B0, DIO_INPUT)
PINMUX(GPIO(I2C_SDA_INA), B1, DIO_INPUT)
/* UARTs */
PINMUX(FUNC(UART0_TX), A0, DIO_OUTPUT) /* Cr50 console */
-PINMUX(FUNC(UART0_RX), A13, DIO_INPUT | DIO_WAKE_FALLING)
+PINMUX(FUNC(UART0_RX), A13, DIO_INPUT | DIO_WAKE_LOW)
/*
* UART1_TX and UART2_TX are configured in usart.c. They are not set as outputs
* here in order to avoid interfering with servo. They can be controlled using