summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.sensor_devices
diff options
context:
space:
mode:
authorBhanu Prakash Maiya <bhanumaiya@google.com>2021-06-22 21:33:33 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-28 23:31:49 +0000
commit1d235e9f8e6dbc5588a32f2b0f563f11a74bfe04 (patch)
tree12114cac072f6b1d87534c87dcfdcdd3eed361ea /zephyr/Kconfig.sensor_devices
parentbca2d153c7710465541b19610d98f00dba39b44e (diff)
downloadchrome-ec-1d235e9f8e6dbc5588a32f2b0f563f11a74bfe04.tar.gz
driver: bma4xx: Add support for BMA422 sensor
BMA422 is one of BMA4XX series accel sensor series. Adding defines, driver from Bosch APIs based initial patches submitted by Bosch team members in crrev/c/2894333. Reference code can be found on https://github.com/BoschSensortec/BMA423-Sensor-API. BRANCH=none BUG=b:178400750 TEST=Accel implementation tested on Guybrush EC commands: > accelinfo > acceldata Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org> Change-Id: I8117283e54980379989fb01f68c29b7d6c501eca Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2981465 Tested-by: Bhanu Prakash Maiya <bhanumaiya@google.com> Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@google.com> Commit-Queue: Rob Barnes <robbarnes@google.com> Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'zephyr/Kconfig.sensor_devices')
-rw-r--r--zephyr/Kconfig.sensor_devices7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig.sensor_devices b/zephyr/Kconfig.sensor_devices
index a8c1cd328b..6860dc69c5 100644
--- a/zephyr/Kconfig.sensor_devices
+++ b/zephyr/Kconfig.sensor_devices
@@ -26,6 +26,13 @@ config PLATFORM_EC_ACCEL_BMA255
Currently the driver supports BMA253, BMA255, BMA355, BMA280, BMA282,
BMA223, BMA254, BMA284, BMA250E, BMA222E, BMC150 BMC056, BMC156.
+config PLATFORM_EC_ACCEL_BMA4XX
+ bool "BMA4XX 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 BMA4XX.
+
config PLATFORM_EC_ACCEL_KX022
bool "KX022 Accelerometer Driver"
help