mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-01 21:02:27 +00:00
samus: Move interrupt enabled gpios to top
All GPIOs with interrupt handlers should be together at the top of the gpio.inc file. BUG=none BRANCH=none TEST=make -j buildall Change-Id: Ie017f148b9b17460aaa32cd5fdc7021feb191247 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/264542 Reviewed-by: Alec Berg <alecaberg@chromium.org> Tested-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
b4496c4443
commit
3e1bf760b3
@@ -24,6 +24,9 @@ GPIO(JTAG_TCK, C, 0, GPIO_DEFAULT, jtag_interrupt)
|
||||
GPIO(UART0_RX, A, 0, GPIO_PULL_UP | GPIO_INT_BOTH_DSLEEP, uart_deepsleep_interrupt) /* UART0 RX input */
|
||||
GPIO(BKBOOST_DET, B, 5, GPIO_INT_RISING, bkboost_det_interrupt) /* Backboost detect */
|
||||
|
||||
/* Interrupt signal from PD MCU, external pull-down */
|
||||
GPIO(PD_MCU_INT, J, 5, GPIO_INT_RISING | GPIO_INT_DSLEEP, pd_mcu_interrupt)
|
||||
|
||||
/*
|
||||
* Combined accelerometer input. This will become an interrupt, once we have
|
||||
* support for it.
|
||||
@@ -35,9 +38,6 @@ GPIO(ACCEL_INT, F, 7, GPIO_INPUT, NULL)
|
||||
*/
|
||||
GPIO(ALS_INT_L, N, 0, GPIO_INPUT, NULL)
|
||||
|
||||
/* Interrupt signal from PD MCU, external pull-down */
|
||||
GPIO(PD_MCU_INT, J, 5, GPIO_INT_RISING | GPIO_INT_DSLEEP, pd_mcu_interrupt)
|
||||
|
||||
/* Other inputs */
|
||||
GPIO(BOARD_VERSION1, Q, 7, GPIO_INPUT, NULL) /* Board version stuffing resistor 1 */
|
||||
GPIO(BOARD_VERSION2, Q, 6, GPIO_INPUT, NULL) /* Board version stuffing resistor 2 */
|
||||
|
||||
Reference in New Issue
Block a user