summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/gpio.h
diff options
context:
space:
mode:
authorFreddy Paul <freddy.paul@intel.com>2016-06-15 22:50:13 -0700
committerAaron Durbin <adurbin@chromium.org>2016-06-21 17:10:12 +0200
commit82007619129abe7928e0bd2a88602d156406675e (patch)
tree7e4f0b2bd7a70f45479af4196dac6edff3a4fe8f /src/mainboard/google/reef/gpio.h
parent1706cb3ee36e61441a6e65fb4428abdec2bcf69b (diff)
google/reef: Add ACPI code for trackpad
This patch enlists ELAN trackpad on I2C4 for reef board. BUG=None TEST=Build and boot to OS. Ensure ELAN trackpad is working with ELAN trackpad driver enabled in kernel. Change-Id: I788600f16dea9fac0e089cb82ccfc38a960157f9 Signed-off-by: Freddy Paul <freddy.paul@intel.com> Reviewed-on: https://review.coreboot.org/15213 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef/gpio.h')
-rw-r--r--src/mainboard/google/reef/gpio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/gpio.h b/src/mainboard/google/reef/gpio.h
index 506633b2e7..23628eb15f 100644
--- a/src/mainboard/google/reef/gpio.h
+++ b/src/mainboard/google/reef/gpio.h
@@ -18,6 +18,10 @@
#include <soc/gpio.h>
+/* Input device interrupt configuration */
+#define TOUCHPAD_INT GPIO_18_IRQ
+
+#ifndef __ACPI__
/*
* Pad configuration in ramstage. The order largely follows the 'GPIO Muxing'
* table found in EDS vol 1, but some pins aren't grouped functionally in
@@ -339,4 +343,5 @@ static const struct pad_config early_gpio_table[] = {
PAD_CFG_GPI(GPIO_75, UP_20K, DEEP), /* I2S1_BCLK -- PCH_WP */
};
+#endif /* __ACPI__ */
#endif /* MAINBOARD_GPIO_H */