Skip to content

Commit

Permalink
tests: drivers: adc: add MAX11102-MAX11117
Browse files Browse the repository at this point in the history
Add instances of the ADC family MAX11102-MAX11117
to the build all tests.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
  • Loading branch information
benediktibk committed Jul 13, 2023
1 parent 1b22bfc commit c8f7da9
Showing 1 changed file with 76 additions and 1 deletion.
77 changes: 76 additions & 1 deletion tests/drivers/build_all/adc/app.overlay
Expand Up @@ -99,6 +99,15 @@

/* 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>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
Expand Down Expand Up @@ -187,7 +196,6 @@
#io-channel-cells = <1>;
};


test_spi_ads114s08: ads114s08@9 {
compatible = "ti,ads114s08";
reg = <0x9>;
Expand All @@ -197,6 +205,73 @@
drdy-gpios = <&test_gpio 0 0>;
start-sync-gpios = <&test_gpio 0 0>;
};

test_spi_max11102: max11102@A {
compatible = "maxim,max11102";
reg = <0xA>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
chsel-gpios = <&test_gpio 0 0>;
};

test_spi_max11103: max11103@B {
compatible = "maxim,max11103";
reg = <0xB>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
chsel-gpios = <&test_gpio 0 0>;
};

test_spi_max11105: max11105@C {
compatible = "maxim,max11105";
reg = <0xC>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
};

test_spi_max11106: max11106@D {
compatible = "maxim,max11106";
reg = <0xD>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
chsel-gpios = <&test_gpio 0 0>;
};

test_spi_max11110: max11110@E {
compatible = "maxim,max11110";
reg = <0xE>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
};

test_spi_max11111: max11111@F {
compatible = "maxim,max11111";
reg = <0xF>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
chsel-gpios = <&test_gpio 0 0>;
};

test_spi_max11115: max11115@10 {
compatible = "maxim,max11115";
reg = <0x10>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
};

test_spi_max11116: max11116@11 {
compatible = "maxim,max11116";
reg = <0x11>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
};

test_spi_max11117: max11117@12 {
compatible = "maxim,max11117";
reg = <0x12>;
spi-max-frequency = <0>;
#io-channel-cells = <1>;
};
};
};
};

0 comments on commit c8f7da9

Please sign in to comment.