summaryrefslogtreecommitdiff
path: root/board/morphius/gpio.inc
diff options
context:
space:
mode:
authorZick Wei <zick.wei@quanta.corp-partner.google.com>2020-12-17 13:49:15 +0800
committerCommit Bot <commit-bot@chromium.org>2020-12-24 07:34:58 +0000
commit2902ec30546ca928df034215ff929856de90b90d (patch)
tree120ac2621af8d778aec292f2ec45a8d4170d8ea0 /board/morphius/gpio.inc
parent9e5e87fd38953958ef78ae9f07ed9f8fad61169b (diff)
downloadchrome-ec-2902ec30546ca928df034215ff929856de90b90d.tar.gz
morphius: add accel sensor ICM406xxx support
This patch add base accelerometer: ICM406xxx for morphius, ICM406xxx use the same low level driver as ICM426XX, we will use fw_config to choose different sensor: BASE_GYRO_ICM426XX = 3 BASE_GYRO_BMI160 = 1 BUG=b:173753906 BRANCH=zork TEST=verify sensor can work on morphius. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I26fb9b6ec82b7d7f22b6eccb38b986813c4c48f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2596571 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board/morphius/gpio.inc')
-rw-r--r--board/morphius/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/morphius/gpio.inc b/board/morphius/gpio.inc
index 5ec5875a3a..39b0f946b5 100644
--- a/board/morphius/gpio.inc
+++ b/board/morphius/gpio.inc
@@ -25,7 +25,7 @@ GPIO_INT(ACOK_OD, PIN(0, 0), GPIO_INT_BOTH | GPIO_HIB_WAKE_HIGH, extpower_inter
GPIO_INT(EC_WP_L, PIN(5, 0), GPIO_INT_BOTH, switch_interrupt)
GPIO_INT(VOLDN_BTN_ODL, PIN(A, 6), GPIO_INT_BOTH | GPIO_PULL_UP, button_interrupt)
GPIO_INT(VOLUP_BTN_ODL, PIN(9, 5), GPIO_INT_BOTH | GPIO_PULL_UP, button_interrupt)
-GPIO_INT(6AXIS_INT_L, PIN(A, 0), GPIO_INT_FALLING | GPIO_PULL_UP, bmi160_interrupt)
+GPIO_INT(6AXIS_INT_L, PIN(A, 0), GPIO_INT_FALLING | GPIO_PULL_UP, motion_interrupt)
GPIO_INT(EN_PWR_TOUCHPAD_PS2, PIN(C, 2), GPIO_INT_RISING, ps2_pwr_en_interrupt)
GPIO_INT(DP1_HPD_EC_IN, PIN(7, 5), GPIO_INT_BOTH, hdmi_hpd_interrupt_v3)