Skip to content

Commit

Permalink
tests: drivers: build_all: Add build test for ad7124 driver
Browse files Browse the repository at this point in the history
This commit adds build-only test of ad7124 spi based
adc.

Signed-off-by: Yasin Ustuner <[email protected]>
  • Loading branch information
yasin-ADI committed Jan 18, 2025
1 parent f4eb26c commit 9f6d73c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/drivers/build_all/adc/boards/native_sim.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};
};
};

0 comments on commit 9f6d73c

Please sign in to comment.