diff options
author | Michał Barnaś <mb@semihalf.com> | 2021-08-31 13:38:33 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-30 00:27:50 +0000 |
commit | ab9796b35d33623c098f9ac497be7373c0726e25 (patch) | |
tree | 8ae3c7e09b4cb91cf33e3b2f87e44bfc5791ea35 /zephyr/projects/trogdor/lazor/prj.conf | |
parent | 69abe2e3f6e0ca360d340510aa45f8ab0f782619 (diff) | |
download | chrome-ec-ab9796b35d33623c098f9ac497be7373c0726e25.tar.gz |
zephyr: add motion sensors probing to lazor board
Add motion sensors probing to zephyr build.
Add icm426xx sensor to lazor device tree.
BRANCH=main
BUG=b:194424288
TEST=Build and flash CrOS and Zephyr for lazor
On EC console there should be a message that lists probed
sensors and result of probing. Motion sensors should work
correctly, orientation and tablet mode change should be detected.
Change-Id: I33babba1724118d20a99b3a755d318bf20f5cbfc
Signed-off-by: Michał Barnaś <mb@semihalf.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3137944
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/trogdor/lazor/prj.conf')
-rw-r--r-- | zephyr/projects/trogdor/lazor/prj.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/projects/trogdor/lazor/prj.conf b/zephyr/projects/trogdor/lazor/prj.conf index e16994e327..0025ac8ad7 100644 --- a/zephyr/projects/trogdor/lazor/prj.conf +++ b/zephyr/projects/trogdor/lazor/prj.conf @@ -147,8 +147,11 @@ CONFIG_PLATFORM_EC_TABLET_MODE_SWITCH=y # Sensor Drivers CONFIG_PLATFORM_EC_ACCEL_BMA255=y +CONFIG_PLATFORM_EC_ACCEL_KX022=y CONFIG_PLATFORM_EC_ACCELGYRO_BMI160=y CONFIG_PLATFORM_EC_ACCELGYRO_BMI_COMM_I2C=y +CONFIG_PLATFORM_EC_ACCELGYRO_ICM426XX=y +CONFIG_PLATFORM_EC_ACCELGYRO_ICM_COMM_I2C=y # Console history CONFIG_SHELL_HISTORY=y |