Skip to content

Commit 838f0c0

Browse files
miggazElquezcfriedt
authored andcommitted
dt-bindings: sensor: lsm9ds1: Fix misleading descriptions
The LSM9DS1 bindings were described as a full 9-axis IMU, while each binding only covers one part of the device. This also made the "Supported features" section of the generated docs misleading, since it only shows the first sentence. Update the descriptions to explicitly state whether they cover the accelerometer + gyroscope or the magnetometer. Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
1 parent 0e0e20b commit 838f0c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dts/bindings/sensor/st,lsm9ds1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
description: |
5-
STMicroelectronics LSM9DS1 9-axis IMU (Inertial Measurement Unit) sensor
6-
accessed through I2C bus.
5+
STMicroelectronics LSM9DS1 3-axis accelerometer + gyroscope accessed
6+
through I2C bus.
77
88
This binding describe only the inertial part : accelerometer and gyroscope.
99

dts/bindings/sensor/st,lsm9ds1_mag.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
description: |
5-
STMicroelectronics LSM9DS1 9-axis IMU (Inertial Measurement Unit) sensor
6-
accessed through I2C bus.
5+
STMicroelectronics LSM9DS1-MAG 3-axis magnetometer accessed
6+
through I2C bus.
77
88
This binding describes only the magnetometer.
99

0 commit comments

Comments
 (0)