summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2015-07-15 13:58:25 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-21 01:34:27 +0000
commitcd0df39ba5a22f390b57cba584e6a919be5ae53b (patch)
treee3eeb13165aa6a3dd1558c6d32c0779b5869497c /include
parent26db470b39687b5abbbc8c5a5c8ac334a900fbae (diff)
downloadchrome-ec-cd0df39ba5a22f390b57cba584e6a919be5ae53b.tar.gz
Driver: OPT3001: Add TI OPT3001 light sensor driver
BUG=none BRANCH=none TEST=Added OPT3001 config to test the sensor in Kunimitsu. Able to read the als data from "als" console command. Varied the light intensity and the als reading are changing. Driver fits into the existing ALS framework. Change-Id: Idb2e6f9f50b6d0d6c8f64c11336efd3f2c76d498 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/286782 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 2834c6bd8b..a268f5d3ae 100644
--- a/include/config.h
+++ b/include/config.h
@@ -64,6 +64,7 @@
*/
#undef CONFIG_ALS
#undef CONFIG_ALS_ISL29035
+#undef CONFIG_ALS_OPT3001
/* Support AP hang detection host command and state machine */
#undef CONFIG_AP_HANG_DETECT