summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2017-02-09 09:54:04 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-02-13 15:36:31 -0800
commitf51fdf223dd846341a489b00c8f43db92a37ce37 (patch)
tree7058a8266578594f65774e14f8eec95b377ee97f /board
parent8c12f0a53f93e12530081fcbe164dab48257e58d (diff)
downloadchrome-ec-f51fdf223dd846341a489b00c8f43db92a37ce37.tar.gz
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 <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/439829
Diffstat (limited to 'board')
-rw-r--r--board/eve/board.c1
-rw-r--r--board/eve/gpio.inc2
2 files changed, 1 insertions, 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 */