summaryrefslogtreecommitdiff
path: root/board/dingdong/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/dingdong/gpio.inc')
-rw-r--r--board/dingdong/gpio.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/dingdong/gpio.inc b/board/dingdong/gpio.inc
index c6ba602448..1545ca7859 100644
--- a/board/dingdong/gpio.inc
+++ b/board/dingdong/gpio.inc
@@ -5,6 +5,9 @@
* found in the LICENSE file.
*/
+/* Declare symbolic names for all the GPIOs that we care about.
+ * Note: Those with interrupt handlers must be declared first. */
+
GPIO_INT(DP_HPD, PIN(A, 0), GPIO_INT_BOTH, hpd_event)
GPIO(USB_C_CC1_PD, PIN(A, 1), GPIO_ANALOG)