Skip to content

Commit b71b4bd

Browse files
committed
tests: sensor: Add icm42686 node to test
For build-time validation. Signed-off-by: Luis Ubieda <luisf@croxel.com>
1 parent 7822b7b commit b71b4bd

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

tests/drivers/build_all/sensor/sensors_trigger_global.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ CONFIG_GROW_R502A_TRIGGER_GLOBAL_THREAD=y
2525
CONFIG_HMC5883L_TRIGGER_GLOBAL_THREAD=y
2626
CONFIG_HTS221_TRIGGER_GLOBAL_THREAD=y
2727
CONFIG_ICM42605_TRIGGER_GLOBAL_THREAD=y
28-
CONFIG_ICM42688_TRIGGER_GLOBAL_THREAD=y
28+
CONFIG_ICM4268X_TRIGGER_GLOBAL_THREAD=y
2929
CONFIG_ICM42X70_TRIGGER_GLOBAL_THREAD=y
3030
CONFIG_ICM45686_TRIGGER_GLOBAL_THREAD=y
3131
CONFIG_ICP201XX_TRIGGER_GLOBAL_THREAD=y

tests/drivers/build_all/sensor/sensors_trigger_none.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CONFIG_GROW_R502A_TRIGGER_NONE=y
2626
CONFIG_HMC5883L_TRIGGER_NONE=y
2727
CONFIG_HTS221_TRIGGER_NONE=y
2828
CONFIG_ICM42605_TRIGGER_NONE=y
29-
CONFIG_ICM42688_TRIGGER_NONE=y
29+
CONFIG_ICM4268X_TRIGGER_NONE=y
3030
CONFIG_ICM42X70_TRIGGER_NONE=y
3131
CONFIG_ICM45686_TRIGGER_NONE=y
3232
CONFIG_ICP201XX_TRIGGER_NONE=y

tests/drivers/build_all/sensor/sensors_trigger_own.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
2424
CONFIG_GROW_R502A_TRIGGER_OWN_THREAD=y
2525
CONFIG_HMC5883L_TRIGGER_OWN_THREAD=y
2626
CONFIG_HTS221_TRIGGER_OWN_THREAD=y
27-
CONFIG_ICM42688_TRIGGER_OWN_THREAD=y
27+
CONFIG_ICM4268X_TRIGGER_OWN_THREAD=y
2828
CONFIG_ICM42X70_TRIGGER_OWN_THREAD=y
2929
CONFIG_ICM45686_TRIGGER_OWN_THREAD=y
3030
CONFIG_ICP201XX_TRIGGER_OWN_THREAD=y

tests/drivers/build_all/sensor/spi.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,3 +459,10 @@ test_spi_adxl366: adxl366@37 {
459459
odr = <4>;
460460
fifo-mode = <0>;
461461
};
462+
463+
test_spi_icm42686: icm42686@38 {
464+
compatible = "invensense,icm42686", "invensense,icm4268x";
465+
reg = <0x1a>;
466+
spi-max-frequency = <24000000>;
467+
int-gpios = <&test_gpio 0 0>;
468+
};

0 commit comments

Comments
 (0)