diff options
author | Ben Chen <ben.chen2@quanta.corp-partner.google.com> | 2021-01-15 10:46:08 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-22 20:35:50 +0000 |
commit | 099240ecf4ebd3032285a6bafe9c106141e9bc91 (patch) | |
tree | 247f93e76cd179b8f3905e3c1f69abe86ab2d112 /board/magolor/gpio.inc | |
parent | 35c3160422d5b9e4fd5f6d81034bf44f86b62245 (diff) | |
download | chrome-ec-099240ecf4ebd3032285a6bafe9c106141e9bc91.tar.gz |
magolor: Add motion sensor config for kx022/icm-426xx
Add icm-426xx config for new second source base accel/gyro,
and lid accel config for new second source.
BUG=b:176314158, b:176314157
BRANCH=main
TEST=Using ectool 'motionsense' verified lid angle now goes
from 0 to 360 and swtiches to tablet mode after crossing 200
threshold on re-work kx022/icm-426xx DUT.
Change-Id: I157ca9313f24726f51b829bc6da2dddbf7feeb49
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2631888
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/magolor/gpio.inc')
-rw-r--r-- | board/magolor/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/magolor/gpio.inc b/board/magolor/gpio.inc index d648b4245b..1fc059143e 100644 --- a/board/magolor/gpio.inc +++ b/board/magolor/gpio.inc @@ -34,7 +34,7 @@ GPIO_INT(H1_EC_PWR_BTN_ODL, PIN(0, 1), GPIO_INT_BOTH | GPIO_PULL_UP, power_butt /* Other interrupts */ GPIO_INT(LID_OPEN, PIN(D, 2), GPIO_INT_BOTH, lid_interrupt) GPIO_INT(EC_WP_OD, PIN(A, 1), GPIO_INT_BOTH, switch_interrupt) -GPIO_INT(BASE_SIXAXIS_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, bmi160_interrupt) +GPIO_INT(BASE_SIXAXIS_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, motion_interrupt) GPIO_INT(LID_360_L, PIN(9, 5), GPIO_INT_BOTH, gmr_tablet_switch_isr) /* I2C Ports */ |