mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user