Skip to content

Commit 6dbfc8e

Browse files
falojkartben
authored andcommitted
tests: drivers: adc: add MCP356xR
Add instance of the MCP356xR ADC to the build all tests. Signed-off-by: Johan Lafon <[email protected]>
1 parent cf56903 commit 6dbfc8e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163
<&test_gpio 0 0>,
164164
<&test_gpio 0 0>,
165165
<&test_gpio 0 0>,
166+
<&test_gpio 0 0>,
166167
<&test_gpio 0 0>;
167168

168169
test_spi_mcp3204: mcp3204@0 {
@@ -386,6 +387,18 @@
386387
spi-max-frequency = <0>;
387388
#io-channel-cells = <1>;
388389
};
390+
391+
test_spi_mcp356xr: mcp356xr@18 {
392+
compatible = "microchip,mcp356xr";
393+
reg = <0x1a>;
394+
spi-max-frequency = <0>;
395+
#io-channel-cells = <1>;
396+
397+
address = <1>;
398+
analog-clock-prescaler = <0>;
399+
boost-current-bias = <0>;
400+
irq-gpios = <&test_gpio 0 0>;
401+
};
389402
};
390403
};
391404
};

0 commit comments

Comments
 (0)