tests: drivers: adc: add MCP356xR

Add instance of the MCP356xR ADC to the build all tests.

Signed-off-by: Johan Lafon <johan.lafon@syslinbit.com>
This commit is contained in:
Johan Lafon 2025-01-15 17:27:47 +01:00 committed by Benjamin Cabé
parent cf569036d1
commit 6dbfc8ee02

View File

@ -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>;
};
};
};
};