From ae6740883fa4e343b3c59d20bffd0b6a09e96779 Mon Sep 17 00:00:00 2001 From: Miguel Gazquez Date: Tue, 2 Sep 2025 18:53:15 +0200 Subject: [PATCH] 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 --- dts/bindings/sensor/st,lsm9ds1.yaml | 4 ++-- dts/bindings/sensor/st,lsm9ds1_mag.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dts/bindings/sensor/st,lsm9ds1.yaml b/dts/bindings/sensor/st,lsm9ds1.yaml index 88fc8ea662cb5..8cdde3af703d1 100644 --- a/dts/bindings/sensor/st,lsm9ds1.yaml +++ b/dts/bindings/sensor/st,lsm9ds1.yaml @@ -2,8 +2,8 @@ # SPDX-License-Identifier: Apache-2.0 description: | - STMicroelectronics LSM9DS1 9-axis IMU (Inertial Measurement Unit) sensor - accessed through I2C bus. + STMicroelectronics LSM9DS1 3-axis accelerometer + gyroscope accessed + through I2C bus. This binding describe only the inertial part : accelerometer and gyroscope. diff --git a/dts/bindings/sensor/st,lsm9ds1_mag.yaml b/dts/bindings/sensor/st,lsm9ds1_mag.yaml index 4493c42c34f9c..e7647c09e71a6 100644 --- a/dts/bindings/sensor/st,lsm9ds1_mag.yaml +++ b/dts/bindings/sensor/st,lsm9ds1_mag.yaml @@ -2,8 +2,8 @@ # SPDX-License-Identifier: Apache-2.0 description: | - STMicroelectronics LSM9DS1 9-axis IMU (Inertial Measurement Unit) sensor - accessed through I2C bus. + STMicroelectronics LSM9DS1-MAG 3-axis magnetometer accessed + through I2C bus. This binding describes only the magnetometer.