mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 02:20:48 +00:00
cr50: Add pull down on UART TX signals
We need to have an internal pull down so the UART TX signals will be pulled low when servo is disconnected. BUG=chrome-os-partner:54547 BRANCH=none TEST=On gru test that servo detection works. Change-Id: I7d549766273862eb23c0645b887f3db4a0adbab1 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/353764 Commit-Ready: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
This commit is contained in:
@@ -15,15 +15,19 @@
|
||||
* boards that don't have an external pullup don't trigger due to noise.
|
||||
*/
|
||||
GPIO_INT(SYS_RST_L_IN, PIN(1, 0), GPIO_INT_FALLING | GPIO_PULL_UP,
|
||||
sys_rst_asserted)
|
||||
sys_rst_asserted)
|
||||
GPIO_INT(AP_ON, PIN(1, 1), GPIO_INT_RISING, device_state_on)
|
||||
GPIO_INT(EC_ON, PIN(1, 2), GPIO_INT_RISING, device_state_on)
|
||||
GPIO_INT(SERVO_UART1_ON, PIN(1, 3), GPIO_INT_RISING, device_state_on)
|
||||
GPIO_INT(SERVO_UART2_ON, PIN(1, 4), GPIO_INT_RISING, device_state_on)
|
||||
GPIO_INT(SERVO_UART1_ON, PIN(1, 3), GPIO_INT_RISING | GPIO_PULL_DOWN,
|
||||
device_state_on)
|
||||
GPIO_INT(SERVO_UART2_ON, PIN(1, 4), GPIO_INT_RISING | GPIO_PULL_DOWN,
|
||||
device_state_on)
|
||||
GPIO_INT(AP_OFF, PIN(1, 5), GPIO_INT_FALLING, device_state_off)
|
||||
GPIO_INT(EC_OFF, PIN(1, 6), GPIO_INT_FALLING, device_state_off)
|
||||
GPIO_INT(SERVO_UART1_OFF, PIN(1, 7), GPIO_INT_FALLING, device_state_off)
|
||||
GPIO_INT(SERVO_UART2_OFF, PIN(1, 8), GPIO_INT_FALLING, device_state_off)
|
||||
GPIO_INT(SERVO_UART1_OFF, PIN(1, 7), GPIO_INT_FALLING | GPIO_PULL_DOWN,
|
||||
device_state_off)
|
||||
GPIO_INT(SERVO_UART2_OFF, PIN(1, 8), GPIO_INT_FALLING | GPIO_PULL_DOWN,
|
||||
device_state_off)
|
||||
|
||||
/* Pull this low to interrupt the AP */
|
||||
GPIO(INT_AP_L, PIN(0, 0), GPIO_INPUT)
|
||||
|
||||
Reference in New Issue
Block a user