diff options
Diffstat (limited to 'board/pit/gpio.inc')
-rw-r--r-- | board/pit/gpio.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/pit/gpio.inc b/board/pit/gpio.inc index 28d9df97e4..e9e92e90c8 100644 --- a/board/pit/gpio.inc +++ b/board/pit/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(KB_PWR_ON_L, PIN(B, 5), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(PP1800_LDO2, PIN(A, 1), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(SOC1V8_XPSHOLD, PIN(A, 3), GPIO_INT_RISING, power_signal_interrupt) |