From 6dbfc8ee026cbbf39614661988daae2b5b5fe3fd Mon Sep 17 00:00:00 2001 From: Johan Lafon Date: Wed, 15 Jan 2025 17:27:47 +0100 Subject: [PATCH] tests: drivers: adc: add MCP356xR Add instance of the MCP356xR ADC to the build all tests. Signed-off-by: Johan Lafon --- .../drivers/build_all/adc/boards/native_sim.overlay | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/drivers/build_all/adc/boards/native_sim.overlay b/tests/drivers/build_all/adc/boards/native_sim.overlay index 1c54bf4898f..a6ab0bdcf0e 100644 --- a/tests/drivers/build_all/adc/boards/native_sim.overlay +++ b/tests/drivers/build_all/adc/boards/native_sim.overlay @@ -163,6 +163,7 @@ <&test_gpio 0 0>, <&test_gpio 0 0>, <&test_gpio 0 0>, + <&test_gpio 0 0>, <&test_gpio 0 0>; test_spi_mcp3204: mcp3204@0 { @@ -386,6 +387,18 @@ spi-max-frequency = <0>; #io-channel-cells = <1>; }; + + test_spi_mcp356xr: mcp356xr@18 { + compatible = "microchip,mcp356xr"; + reg = <0x1a>; + spi-max-frequency = <0>; + #io-channel-cells = <1>; + + address = <1>; + analog-clock-prescaler = <0>; + boost-current-bias = <0>; + irq-gpios = <&test_gpio 0 0>; + }; }; }; };