summaryrefslogtreecommitdiff
path: root/board/auron/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/auron/gpio.inc')
-rw-r--r--board/auron/gpio.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/auron/gpio.inc b/board/auron/gpio.inc
index d27cc66230..359c755b9f 100644
--- a/board/auron/gpio.inc
+++ b/board/auron/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) /* Power button */
GPIO_INT(LID_OPEN, PIN(A, 3), GPIO_INT_BOTH_DSLEEP, lid_interrupt) /* Lid switch */
GPIO_INT(AC_PRESENT, PIN(H, 3), GPIO_INT_BOTH_DSLEEP, extpower_interrupt) /* AC power present */