diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2017-11-13 12:44:44 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-16 20:55:34 -0700 |
commit | 50728bc54748d95c94095c3f7c3579d4473034a9 (patch) | |
tree | 36cd7cd439631224faf8f0ff042274ec96d7ec83 | |
parent | 39684f894620238c6ea08b54ad7bb23bb2025499 (diff) | |
download | chrome-ec-50728bc54748d95c94095c3f7c3579d4473034a9.tar.gz |
config: Put all sensor interrupt config events at a single location
The number of interrupt events will increase with the ST sensors support.
BUG=b:73546254
BRANCH=none
TEST=compile
Change-Id: If375afa97ad664594f005a6b007aa7d9439e8ecb
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/767611
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r-- | include/config.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/include/config.h b/include/config.h index 8eb6389792..4b9913ef6e 100644 --- a/include/config.h +++ b/include/config.h @@ -103,24 +103,12 @@ */ #undef CONFIG_ACCEL_STD_REF_FRAME_OLD -/* - * Define the event to raise when BMI160 interrupt. - * Must be within TASK_EVENT_MOTION_INTERRUPT_MASK. - */ -#undef CONFIG_ACCELGYRO_BMI160_INT_EVENT - /* Set when INT2 is an ouptut */ #undef CONFIG_ACCELGYRO_BMI160_INT2_OUTPUT /* Specify type of Gyrometers attached. */ #undef CONFIG_GYRO_L3GD20H -/* - * Define the event to raise when LIS2DH interrupt. - * Must be within TASK_EVENT_MOTION_INTERRUPT_MASK. - */ -#undef CONFIG_ACCEL_LIS2DH_INT_EVENT - /* Sync event driver */ #undef CONFIG_SYNC @@ -176,10 +164,14 @@ #undef CONFIG_ALS_SI114X /* Check if the device revision is supported */ #undef CONFIG_ALS_SI114X_CHECK_REVISION + /* - * Define the event to raise when BMI160 interrupt. + * Define the event to raise when a sensor interrupt triggers. * Must be within TASK_EVENT_MOTION_INTERRUPT_MASK. */ +#undef CONFIG_ACCELGYRO_BMI160_INT_EVENT +#undef CONFIG_ACCEL_LSM6DSM_INT_EVENT +#undef CONFIG_ACCEL_LIS2DH_INT_EVENT #undef CONFIG_ALS_SI114X_INT_EVENT /* |