summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2017-11-13 12:44:44 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-03-07 08:13:47 +0000
commit40650f23e398df7004ef5f44db01224d2c908a16 (patch)
tree03a95d6bc27dfb57186edcba8e9fa4f169b238d1
parent5c4ccf3bbac26674ba6a05a23941c4de90b6f998 (diff)
downloadchrome-ec-40650f23e398df7004ef5f44db01224d2c908a16.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/952493 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--include/config.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/include/config.h b/include/config.h
index 8d023c54ba..7664b84c04 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
-
/* Compile chip support for analog-to-digital convertor */
#undef CONFIG_ADC
@@ -164,10 +152,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
/*