Skip to content

Commit 5741b61

Browse files
gabz-arsenalstephanosio
authored andcommitted
tests: drivers: build_all: Add build test for MAX2253x ADC
Add build test for MAX2253x family of SPI-based ADC. Signed-off-by: Gabriele Zampieri <gabriele.zampieri@arsenaling.com>
1 parent 96f6dc5 commit 5741b61

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
<&test_gpio 0 0>,
170170
<&test_gpio 0 0>,
171171
<&test_gpio 0 0>,
172+
<&test_gpio 0 0>,
172173
<&test_gpio 0 0>;
173174

174175
test_spi_mcp3204: mcp3204@0 {
@@ -508,6 +509,14 @@
508509
spi-max-frequency = <0>;
509510
#io-channel-cells = <1>;
510511
};
512+
513+
test_spi_max2253x: max2253x@30 {
514+
compatible = "maxim,max2253x";
515+
reg = <0x30>;
516+
spi-max-frequency = <0>;
517+
#io-channel-cells = <1>;
518+
int-gpios = <&test_gpio 0 GPIO_ACTIVE_LOW>;
519+
};
511520
};
512521
};
513522
};

0 commit comments

Comments
 (0)