Skip to content

Commit 2ac3164

Browse files
nono313kartben
authored andcommitted
tests: drivers: sensor: add ad2s1210 to build_all test
add ad2s1210 to build_all test in spi.dtsi Signed-off-by: Nathan Olff <[email protected]>
1 parent b88a27a commit 2ac3164

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/drivers/build_all/sensor/spi.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,3 +429,13 @@ test_spi_icp201xx: icp201xx@34 {
429429
op-mode = "mode0";
430430
drive-strength = "current_12mA_1_8V";
431431
};
432+
433+
test_spi_ad2s1210: ad2s1210@35 {
434+
compatible = "adi,ad2s1210";
435+
reg = <0x35>;
436+
spi-max-frequency = <0>;
437+
sample-gpios = <&test_gpio 0 (GPIO_ACTIVE_LOW)>;
438+
mode-gpios = <&test_gpio 1 (GPIO_ACTIVE_HIGH)>, <&test_gpio 2 (GPIO_ACTIVE_HIGH)>;
439+
reset-gpios = <&test_gpio 7 (GPIO_ACTIVE_LOW)>;
440+
clock-frequency = <8192000>;
441+
};

0 commit comments

Comments
 (0)