summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandru M Stan <amstan@chromium.org>2018-01-04 11:28:11 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-03-14 04:06:53 -0700
commit4a1d2e3daf005766dc523216b8c3639fcd9595a2 (patch)
tree5665e76b5281a997edc9e38a6f379a5af5bd2bea /include
parentb63595258df33b0c31effe979feb4bfe884cc9fb (diff)
downloadchrome-ec-4a1d2e3daf005766dc523216b8c3639fcd9595a2.tar.gz
sensors: Add driver for SYNC
Useful for recording the exact time a gpio interrupt happened in the context of sensors. Adding it for camera vsync purposes. BUG=b:67743747 TEST=With next patch see it work on scarlet. BRANCH=master Change-Id: Ic8e8fb444e08200e5d8daded8b4a5920b13431ac Signed-off-by: Alexandru M Stan <amstan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/850580 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 31c2972b15..a9ba707b97 100644
--- a/include/config.h
+++ b/include/config.h
@@ -121,6 +121,18 @@
*/
#undef CONFIG_ACCEL_LIS2DH_INT_EVENT
+/* Sync event driver */
+#undef CONFIG_SYNC
+
+/* Simulate command for sync */
+#undef CONFIG_SYNC_COMMAND
+
+/*
+ * Define the event to raise when the sync event happens.
+ * Must be within TASK_EVENT_MOTION_INTERRUPT_MASK.
+ */
+#undef CONFIG_SYNC_INT_EVENT
+
/* Compile chip support for analog-to-digital convertor */
#undef CONFIG_ADC