From 1d209146550d33657f749eac4a2a9847e9c9b6f9 Mon Sep 17 00:00:00 2001 From: Denis Brockus Date: Tue, 8 Jun 2021 10:25:10 -0600 Subject: 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 Change-Id: Ie891450909196cae10b4f6bdf2009f0338bb988e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2947227 Commit-Queue: Denis Brockus Tested-by: Denis Brockus Auto-Submit: Denis Brockus Reviewed-by: Keith Short --- zephyr/Kconfig.sensor_devices | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'zephyr/Kconfig.sensor_devices') 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" -- cgit v1.2.1