diff options
Diffstat (limited to 'board/rambi/gpio.inc')
-rw-r--r-- | board/rambi/gpio.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/rambi/gpio.inc b/board/rambi/gpio.inc index 190c2a9374..c6914e0a50 100644 --- a/board/rambi/gpio.inc +++ b/board/rambi/gpio.inc @@ -5,7 +5,9 @@ * found in the LICENSE file. */ -/* Inputs with interrupt handlers are first for efficiency */ +/* Declare symbolic names for all the GPIOs that we care about. + * Note: Those with interrupt handlers must be declared first. */ + GPIO_INT(POWER_BUTTON_L, PIN(A, 2), GPIO_INT_BOTH_DSLEEP, power_button_interrupt) GPIO_INT(LID_OPEN, PIN(A, 3), GPIO_INT_BOTH_DSLEEP, lid_interrupt) GPIO_INT(AC_PRESENT, PIN(H, 3), GPIO_INT_BOTH_DSLEEP, extpower_interrupt) |