diff options
author | Justin TerAvest <teravest@chromium.org> | 2018-08-29 08:49:50 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-30 14:42:10 -0700 |
commit | 260907bf15752cef85fd89d8d5e3d2f61d4b4a8d (patch) | |
tree | 67f58244be93eff9af9b9d3485c2c7701a1c539e /board/bobba/gpio.inc | |
parent | dfb04c7b51b2c467736932a24d811a2e3e43b6d2 (diff) | |
download | chrome-ec-stabilize-11020.B.tar.gz |
bobba: Add support for BMI160 base sensorsstabilize-11020.B
Starting with board_version 2, Bobba uses BMI160 instead of LSM6DSM for
base sensor support.
All Bobba boards with board_version < 2 should have SKU id set to 255,
and thus only have the lid sensor enabled. This change replaces the
LSM6DSM support with BMI160 support.
BUG=b:113369413
TEST=compile
BRANCH=none
Change-Id: Ib307e9c279162b445fb5fb8cae39b94bc401ecdb
Signed-off-by: Justin TerAvest <teravest@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1194880
Reviewed-by: Tino Liu <tino.liu@quanta.corp-partner.google.com>
Reviewed-by: Paris Yeh <pyeh@chromium.org>
Diffstat (limited to 'board/bobba/gpio.inc')
-rw-r--r-- | board/bobba/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bobba/gpio.inc b/board/bobba/gpio.inc index 551b231648..7cfb5e897b 100644 --- a/board/bobba/gpio.inc +++ b/board/bobba/gpio.inc @@ -37,7 +37,7 @@ GPIO_INT(TABLET_MODE_L, PIN(8, 6), GPIO_INT_BOTH, tablet_mode_isr) GPIO_INT(EC_VOLUP_BTN_ODL, PIN(7, 5), GPIO_INT_BOTH, button_interrupt) GPIO_INT(EC_VOLDN_BTN_ODL, PIN(4, 0), GPIO_INT_BOTH, button_interrupt) -GPIO_INT(BASE_SIXAXIS_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, lsm6dsm_interrupt) +GPIO_INT(BASE_SIXAXIS_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, bmi160_interrupt) GPIO(LID_ACCEL_INT_L, PIN(5, 0), GPIO_INPUT | GPIO_SEL_1P8V) /* Define PCH_SLP_S0_L after all interrupts if CONFIG_POWER_S0IX not defined. */ |