Skip to content

Commit f48d6ff

Browse files
nikolaptrkartben
authored andcommitted
docs: Adapt ICM42688 example to new dt option names.
Example for creating ICM42688 dt node uses old dt option names. Fix by changing to newest dt option names. Signed-off-by: Nikola Petrovic <nikolaptr6@gmail.com>
1 parent 3075a7d commit f48d6ff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dts/bindings/sensor/invensense,icm42688.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ description: |
1515
icm42688: icm42688@0 {
1616
...
1717
18-
accel-pwr-mode = <ICM42688_ACCEL_LN>;
19-
accel-fs = <ICM42688_ACCEL_FS_16G>;
20-
accel-odr = <ICM42688_ACCEL_ODR_2000>;
21-
gyro-pwr-mode= <ICM42688_GYRO_LN>;
22-
gyro-fs = <ICM42688_GYRO_FS_2000>;
23-
gyro-odr = <ICM42688_GYRO_ODR_2000>;
18+
accel-pwr-mode = <ICM42688_DT_ACCEL_LN>;
19+
accel-fs = <ICM42688_DT_ACCEL_FS_16>;
20+
accel-odr = <ICM42688_DT_ACCEL_ODR_2000>;
21+
gyro-pwr-mode= <ICM42688_DT_GYRO_LN>;
22+
gyro-fs = <ICM42688_DT_GYRO_FS_2000>;
23+
gyro-odr = <ICM42688_DT_GYRO_ODR_2000>;
2424
};
2525
compatible: "invensense,icm42688"
2626
include: [sensor-device.yaml, spi-device.yaml]

0 commit comments

Comments
 (0)