summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2016-10-05 14:17:49 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-10-07 21:51:22 -0700
commit0ea4603143984a70f895a0c83df4eab3e2b4aa58 (patch)
tree457b445dd20b3e7adf0514f6b14bcc13174f06eb /include
parentafcfb4b99844ea79db732dfcad222c32550477ed (diff)
downloadchrome-ec-0ea4603143984a70f895a0c83df4eab3e2b4aa58.tar.gz
driver: bmi160: Add config variable for INT2 setting
BMI INT2 can be input or output. It is not used currently, but configure it properly nevertheless. BUG=none BRANCH=none TEST=On cave, (int2 is output), ensure FIFO headers are free of interrupt information. Change-Id: I9c058689a8676593aad542e33601cc11da105838 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/394066
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 0b4b7ef133..fe3a18ff6e 100644
--- a/include/config.h
+++ b/include/config.h
@@ -82,6 +82,9 @@
*/
#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