Skip to content

Commit 45f50f8

Browse files
Yasin Ustunerkartben
authored andcommitted
tests: drivers: build_all: Add build test for ad7124 driver
This commit adds build-only test of ad7124 spi based adc. Signed-off-by: Yasin Ustuner <[email protected]>
1 parent a4b5635 commit 45f50f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/drivers/build_all/adc/boards/native_sim.overlay

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,14 @@
371371
#io-channel-cells = <1>;
372372
drdy-gpios = <&test_gpio 0 0>;
373373
};
374+
375+
test_spi_ad7124: ad7124@18 {
376+
compatible = "adi,ad7124-adc";
377+
reg = <0x18>;
378+
spi-max-frequency = <0>;
379+
#io-channel-cells = <1>;
380+
active-device = <1>;
381+
};
374382
};
375383
};
376384
};

0 commit comments

Comments
 (0)