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:
parent
cf569036d1
commit
6dbfc8ee02
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user