From f51fdf223dd846341a489b00c8f43db92a37ce37 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Thu, 9 Feb 2017 09:54:04 -0800 Subject: [PATCH] eve: Revert trackpad interrupt changes The trackpad interrupt is input only to the EC and should not ever be driven from here. BUG=chrome-os-partner:58666 BRANCH=none TEST=build and boot on eve p1 Change-Id: I3ffa2ddb4990550b57c9191b5d721ab0ba206aca Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/439829 --- board/eve/board.c | 1 - board/eve/gpio.inc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/board/eve/board.c b/board/eve/board.c index ec68d094cb..561ba734ea 100644 --- a/board/eve/board.c +++ b/board/eve/board.c @@ -573,7 +573,6 @@ void lid_angle_peripheral_enable(int enable) if (tablet_get_mode() || chipset_in_state(CHIPSET_STATE_ANY_OFF)) enable = 0; keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); - gpio_set_level(GPIO_TRACKPAD_INT_L, !enable); } #endif diff --git a/board/eve/gpio.inc b/board/eve/gpio.inc index 7defffd663..56c564b1ba 100644 --- a/board/eve/gpio.inc +++ b/board/eve/gpio.inc @@ -60,7 +60,7 @@ GPIO(I2C3_SCL, PIN(D, 1), GPIO_INPUT) /* EC_I2C3_POWER_SCL */ GPIO(I2C3_SDA, PIN(D, 0), GPIO_INPUT) /* EC_I2C3_POWER_SDA */ /* AP wake sources when in Deep-S3 state */ -GPIO(TRACKPAD_INT_L, PIN(7, 1), GPIO_ODR_LOW) /* INT# from Trackpad */ +GPIO(TRACKPAD_INT_L, PIN(7, 1), GPIO_INPUT) /* INT# from Trackpad */ GPIO(DSP_WAKE_L, PIN(C, 6), GPIO_INPUT | GPIO_SEL_1P8V) /* INT# from DSP Mic */ /* 5V enables: INPUT=1.5A, OUT_LOW=OFF, OUT_HIGH=3A */