aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/rambi/onboard.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-11-20 15:21:40 -0600
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-07 22:06:34 +0200
commit21565cac1b0b34c3e76c1bcd2bf933ac1313ecac (patch)
tree39fbed653a7d8c7a924ed1b948c771f256b2549c /src/mainboard/google/rambi/onboard.h
parentbaa1e382178ab6a45c5d584a88ac26c0767f8a12 (diff)
rambi: use SERIRQ pad as keyboard irq in gpio mode
The level shifting between 3.3V and 1.8V for the SERIRQ signal is not working. Instead use the SERIRQ pad as a gpio which is used as a direct IRQ signal for the keyboard interupt. BUG=chrome-os-partner:23965 BRANCH=None TEST=Built and booted rambi. Keyboard works with associated EC change. CQ-DEPEND=CL:177189 Change-Id: Ifc270ca38207828a6d4711551d4bde9121559cca Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/177223 Tested-by: Bernie Thompson <bhthompson@chromium.org> Reviewed-on: http://review.coreboot.org/4979 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/google/rambi/onboard.h')
-rw-r--r--src/mainboard/google/rambi/onboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/rambi/onboard.h b/src/mainboard/google/rambi/onboard.h
index 6a8e751aeb..7f5d88525f 100644
--- a/src/mainboard/google/rambi/onboard.h
+++ b/src/mainboard/google/rambi/onboard.h
@@ -34,4 +34,6 @@
#define BOARD_TOUCHSCREEN_I2C_BUS 5
#define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a /* TODO(shawnn): Check this */
+#define BOARD_I8042_IRQ GPIO_S0_DED_IRQ(I8042_IRQ_OFFSET)
+
#endif