From 3ccae3be744d4084712d7259cd77e0727c81786f Mon Sep 17 00:00:00 2001 From: Hyungwoo Yang Date: Tue, 19 Jan 2021 21:46:31 -0800 Subject: 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 Change-Id: Ibc22ed08b4f6db6cf70e3a62c3d16ef750e69de2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639733 Reviewed-by: Simon Glass --- zephyr/Kconfig.sensor_devices | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 zephyr/Kconfig.sensor_devices (limited to 'zephyr/Kconfig.sensor_devices') 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 -- cgit v1.2.1