summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEran Mitrani <mitrani@google.com>2023-05-04 11:15:36 -0700
committerMartin L Roth <gaumless@gmail.com>2023-06-04 19:25:50 +0000
commit302098c42df9b0d068dae4e54e84197ab22f6002 (patch)
treefc0d4b328c2994613835d68c66256041b395ef3c
parent81decdf2ee18c5e9d327e3fc77cbcf0385800195 (diff)
mb/google/rex: add macro for touchscreen IRQ
BUG=b:278783755 Signed-off-by: Eran Mitrani <mitrani@google.com> Change-Id: I2a6de778c7ab30a9946e100cb70c092ba98496e3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74944 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/rex/variants/baseboard/rex/include/baseboard/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/baseboard/rex/include/baseboard/gpio.h b/src/mainboard/google/rex/variants/baseboard/rex/include/baseboard/gpio.h
index 35e055b7ed..755574e9a0 100644
--- a/src/mainboard/google/rex/variants/baseboard/rex/include/baseboard/gpio.h
+++ b/src/mainboard/google/rex/variants/baseboard/rex/include/baseboard/gpio.h
@@ -22,5 +22,7 @@
#define GPIO_MEM_CONFIG_2 GPP_E01
#define GPIO_MEM_CONFIG_3 GPP_E12
#define GPIO_MEM_CH_SEL GPP_E13
+/* Touchscreen IRQ */
+#define TOUCH_SCR_IRQ GPP_C07_IRQ
#endif /* __BASEBOARD_GPIO_H__ */