summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@google.com>2021-06-08 10:25:10 -0600
committerCommit Bot <commit-bot@chromium.org>2021-06-09 19:22:42 +0000
commit1d209146550d33657f749eac4a2a9847e9c9b6f9 (patch)
tree229f252c24b5be435eab53e441774764c548c672
parent9377aa057d8fe028501fdd6b7462c1c8b29c818f (diff)
downloadchrome-ec-1d209146550d33657f749eac4a2a9847e9c9b6f9.tar.gz
zephyr: driver: add ST accel_lis2dw12
Fixed a couple of post-merge Kconfig requests. BUG=b:180980668,b:189857004 BRANCH=none TEST=make buildall TEST=zmake configure -b $PROJ_HAYATO Signed-off-by: Denis Brockus <dbrockus@google.com> Change-Id: Ie891450909196cae10b4f6bdf2009f0338bb988e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2947227 Commit-Queue: Denis Brockus <dbrockus@chromium.org> Tested-by: Denis Brockus <dbrockus@chromium.org> Auto-Submit: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--zephyr/Kconfig.sensor_devices10
1 files changed, 7 insertions, 3 deletions
diff --git a/zephyr/Kconfig.sensor_devices b/zephyr/Kconfig.sensor_devices
index 0dc3eb40d4..a8c1cd328b 100644
--- a/zephyr/Kconfig.sensor_devices
+++ b/zephyr/Kconfig.sensor_devices
@@ -34,7 +34,7 @@ config PLATFORM_EC_ACCEL_KX022
config PLATFORM_EC_ACCEL_LIS2DW12
bool "LIS2DW12 Accelerometer Driver"
- imply PLATFORM_EC_STM_MEMS_COMMON
+ select PLATFORM_EC_STM_MEMS_COMMON
help
The driver supports ST's LIS2DW12 3D digital accelerometer sensor.
It allows measurements of acceleration in three perpendicular axes.
@@ -77,9 +77,13 @@ config PLATFORM_EC_ACCELGYRO_ICM426XX
gyroscope readings.
config PLATFORM_EC_STM_MEMS_COMMON
- bool "STM MEMS Common Driver"
+ bool
help
- The driver supports common STM MEMS devices
+ The driver supports functionality that is common to
+ STMicroelectronics(STM) micro-electromechanical system(MEMS)
+ sensor devices. This should be enabled by drivers that use
+ this common framework. It cannot be set otherwise, even in
+ prj.conf.
rsource "Kconfig.accelgyro_bmi"
rsource "Kconfig.accelgyro_icm"