From 9f6d73c981b29fa3eb1d1d190a3f01723afdfc64 Mon Sep 17 00:00:00 2001 From: Yasin Ustuner Date: Fri, 3 Jan 2025 10:15:50 +0300 Subject: [PATCH] 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 --- tests/drivers/build_all/adc/boards/native_sim.overlay | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/drivers/build_all/adc/boards/native_sim.overlay b/tests/drivers/build_all/adc/boards/native_sim.overlay index 7c5f31455380ed..ae6b5a7f56b0a6 100644 --- a/tests/drivers/build_all/adc/boards/native_sim.overlay +++ b/tests/drivers/build_all/adc/boards/native_sim.overlay @@ -371,6 +371,14 @@ #io-channel-cells = <1>; drdy-gpios = <&test_gpio 0 0>; }; + + test_spi_ad7124: ad7124@18 { + compatible = "adi,ad7124-adc"; + reg = <0x18>; + spi-max-frequency = <0>; + #io-channel-cells = <1>; + active-device = <1>; + }; }; }; };