diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-10-30 19:18:28 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-02 22:51:57 +0000 |
commit | d6e6c7e861ecfb9628b8b735f3dbfe0d21cfd5d4 (patch) | |
tree | 4d1114bb6896a40d61d1ece037bb415ba0660a5a | |
parent | a94122b1660bae1ddc27f393c507501edd5f56dc (diff) | |
download | chrome-ec-d6e6c7e861ecfb9628b8b735f3dbfe0d21cfd5d4.tar.gz |
Limozeen: Lid accel sensor not stuffed, apply PD to its interrupt
Lid accel sensor is not stuffed on Limozeen. Apply PD to its
interrupt to avoid it float.
BRANCH=None
BUG=b:169595541
TEST=Built the image without error.
Change-Id: Id9839247ee6c8bb0122eb96103d604e7beb210b1
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2511806
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
-rw-r--r-- | board/lazor/board.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/lazor/board.c b/board/lazor/board.c index 343b12a200..53221ec21c 100644 --- a/board/lazor/board.c +++ b/board/lazor/board.c @@ -404,9 +404,11 @@ static void board_update_sensor_config_from_sku(void) if (board_is_clamshell()) { motion_sensor_count = 0; gmr_tablet_switch_disable(); - /* The base accel is not stuffed; don't allow line to float */ + /* The sensors are not stuffed; don't allow lines to float */ gpio_set_flags(GPIO_ACCEL_GYRO_INT_L, GPIO_INPUT | GPIO_PULL_DOWN); + gpio_set_flags(GPIO_LID_ACCEL_INT_L, + GPIO_INPUT | GPIO_PULL_DOWN); } else { motion_sensor_count = ARRAY_SIZE(motion_sensors); /* Enable interrupt for the base accel sensor */ |