Skip to content

Commit 73af324

Browse files
XenuIsWatchingkartben
authored andcommitted
tests: drivers: sensor: add build_all for lsm6dsv16x
Add a build test for the i3c lsm6dsv16x. Signed-off-by: Ryan McClelland <[email protected]>
1 parent eb93ba0 commit 73af324

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/drivers/build_all/sensor/i3c.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,15 @@ test_i3c_ilps22qs: ilps22qs@400000803E0000004 {
3636
reg = <0x3 0x00000803 0xE0000004>;
3737
assigned-address = <0x4>;
3838
};
39+
40+
test_i3c_lsm6dsv16x: lsm6dsv16x@500000803E0000004 {
41+
compatible = "st,lsm6dsv16x";
42+
reg = <0x5 0x00000803 0xE0000004>;
43+
assigned-address = <0x5>;
44+
int1-gpios = <&test_gpio 0 0>;
45+
int2-gpios = <&test_gpio 0 0>;
46+
accel-range = <LSM6DSV16X_DT_FS_8G>;
47+
accel-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
48+
gyro-range = <LSM6DSV16X_DT_FS_2000DPS>;
49+
gyro-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
50+
};

0 commit comments

Comments
 (0)