This sensor is virtually identical to the lsm6dso. The only difference is the accelerometer ranges are double those of the lsm6dso. Use the same driver. The difference is detected by using "st,lsm6dso32" as the first compatible entry, followed by "st,lsm6dso". An bit flag in the existing accel_range config field is used to check if the chip is the doubled range or not. Signed-off-by: Trent Piepho <trent.piepho@igorinstitute.com>
10 lines
286 B
YAML
10 lines
286 B
YAML
# Copyright (c) 2019 STMicroelectronics
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
STMicroelectronics LSM6DSO32 6-axis IMU (Inertial Measurement Unit) sensor
|
|
accessed through I2C bus
|
|
|
|
compatible: "st,lsm6dso32"
|
|
|
|
include: ["i2c-device.yaml", "st,lsm6dso-common.yaml"]
|