tests: build_all: add entries for ltc1660/ltc1665

Add the new DAC-drivers to the test suite.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
This commit is contained in:
Marcus Folkesson 2023-04-05 14:18:00 +02:00 committed by Anas Nashif
parent 10818f75e2
commit 11b596c451
2 changed files with 17 additions and 1 deletions

View File

@ -68,6 +68,8 @@
/* one entry for every devices at spi.dtsi */
cs-gpios = <&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>;
@ -118,6 +120,20 @@
channel6-gain = <0>;
channel7-gain = <0>;
};
test_spi_ltc1660: ltc1660@3 {
compatible = "lltc,ltc1660";
reg = <0x3>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
};
test_spi_ltc1665: ltc1665@4 {
compatible = "lltc,ltc1665";
reg = <0x4>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
};
};
};
};

View File

@ -5,7 +5,7 @@ tests:
drivers.dac.build:
# will cover I2C, SPI based drivers
platform_allow: native_posix
tags: dac_dacx0508 dac_dacx3608 dac_mcp4725 dac_mcp4728
tags: dac_dacx0508 dac_dacx3608 dac_mcp4725 dac_mcp4728 dac_ltc1660 dac_ltc1665
extra_args: "CONFIG_GPIO=y"
drivers.dac.mcux.build:
platform_allow: frdm_k22f