From 3e1bf760b3d728ad769e361f92e358283cd0ab2a Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Tue, 7 Apr 2015 16:26:03 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/264542 Reviewed-by: Alec Berg Tested-by: Alec Berg Commit-Queue: Aseda Aboagye --- board/samus/gpio.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/samus/gpio.inc b/board/samus/gpio.inc index 2f20e50fd8..966292bf7f 100644 --- a/board/samus/gpio.inc +++ b/board/samus/gpio.inc @@ -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 */