mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-14 16:46:23 +00:00
Nami: Enable interrupt for BMI160
BUG=b:72335612 BRANCH=none TEST=make BOARD=nami Change-Id: Ifcf401b881a40490ead8186be77cc7a097550291 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/941601 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@google.com>
This commit is contained in:
committed by
chrome-bot
parent
097f5e6a0b
commit
074050c048
@@ -412,6 +412,9 @@ static void board_init(void)
|
||||
/* Enable pericom BC1.2 interrupts */
|
||||
gpio_enable_interrupt(GPIO_USB_C0_BC12_INT_L);
|
||||
gpio_enable_interrupt(GPIO_USB_C1_BC12_INT_L);
|
||||
|
||||
/* Enable Gyro interrupt for BMI160 */
|
||||
gpio_enable_interrupt(GPIO_ACCELGYRO3_INT_L);
|
||||
}
|
||||
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user