From 21565cac1b0b34c3e76c1bcd2bf933ac1313ecac Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 20 Nov 2013 15:21:40 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/177223 Tested-by: Bernie Thompson Reviewed-on: http://review.coreboot.org/4979 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/rambi/onboard.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard/google/rambi/onboard.h') 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 -- cgit v1.2.3