poppy/nautilus: Enable ACCELGYRO3_INT_L BMI160 interrupts

BRANCH=none
BUG=b:69656838
TEST=Flash soraka, AIDA64 works fine

Change-Id: I98443f3aee8605fbc9b5080cda83ac2b42ba8cd8
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/869550
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
This commit is contained in:
Nicolas Boichat
2018-01-17 11:13:26 +08:00
committed by chrome-bot
parent 8b51215355
commit 667a35bb9c
2 changed files with 6 additions and 0 deletions

View File

@@ -443,6 +443,9 @@ static void board_init(void)
gpio_set_flags(GPIO_I2C3_SCL, GPIO_INPUT);
gpio_set_flags(GPIO_I2C3_SDA, GPIO_INPUT);
}
/* Enable Gyro interrupts */
gpio_enable_interrupt(GPIO_ACCELGYRO3_INT_L);
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);

View File

@@ -588,6 +588,9 @@ static void board_init(void)
GPIO_INPUT | GPIO_PULL_UP);
}
#endif
/* Enable Gyro interrupts */
gpio_enable_interrupt(GPIO_ACCELGYRO3_INT_L);
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);