summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.sensor_devices
diff options
context:
space:
mode:
authorHyungwoo Yang <hyungwoo.yang@intel.corp-partner.google.com>2021-01-19 21:46:31 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-22 21:43:16 +0000
commit3ccae3be744d4084712d7259cd77e0727c81786f (patch)
tree8a798c69b1355a5f10c2560500c55d0e37f076a4 /zephyr/Kconfig.sensor_devices
parent90995b4a525442b448384e8c5e6d77f541283c4d (diff)
downloadchrome-ec-3ccae3be744d4084712d7259cd77e0727c81786f.tar.gz
zephyr: add bmi260, bma2x2,and tcs3400 support
Add BMI260, BMA2x2, and TCS3400 support to zephyr. BUG=b:173508071,b:173508128,b:173507878 BRANCH=none TEST=make buildall -j8 build volteer on zephyr Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.corp-partner.google.com> Change-Id: Ibc22ed08b4f6db6cf70e3a62c3d16ef750e69de2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639733 Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.sensor_devices')
-rw-r--r--zephyr/Kconfig.sensor_devices27
1 files changed, 27 insertions, 0 deletions
diff --git a/zephyr/Kconfig.sensor_devices b/zephyr/Kconfig.sensor_devices
new file mode 100644
index 0000000000..4c477c2d76
--- /dev/null
+++ b/zephyr/Kconfig.sensor_devices
@@ -0,0 +1,27 @@
+# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+menu "Sensor Devices"
+
+config PLATFORM_EC_ACCEL_BMA255
+ bool "BMA2X2 Accelerometer Family Driver"
+ help
+ The driver supports Bosch's a triaxial, low-g acceleration sensor.
+ It allows measurements of acceleration in three perpendicular axes.
+ Currently the driver supports BMA253, BMA255, BMA355, BMA280, BMA282,
+ BMA223, BMA254, BMA284, BMA250E, BMA222E, BMC150 BMC056, BMC156.
+
+config PLATFORM_EC_ACCELGYRO_BMI260
+ bool "BMI260 Accelgyrometer Driver"
+ help
+ The driver supports Bosch's BMI260 which is an IMU consisting of
+ a 16-bit tri-axial gyroscope and a 16-bit tri-axial accelerometer.
+
+config PLATFORM_EC_ALS_TCS3400
+ bool "TCS3400 Ambient Light Senseor Driver"
+ help
+ The driver supports TCS3400 which provides color and
+ IR (red, green, blue, clear and IR) ambient light sensing.
+
+endmenu # Sensor devices