tests: drivers: build_all: gpio: add ADS114S08 to tests

Add GPIO expander integrated in ADS114S08 to the tests.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2023-03-14 22:09:55 +01:00 committed by Christopher Friedt
commit cc558a3c46
2 changed files with 21 additions and 0 deletions

View file

@ -212,6 +212,26 @@
ngpios = <8>;
reset-gpios = <&test_gpio 0 0>;
};
test_spi_ads114s08: ads114s08@0 {
compatible = "ti,ads114s08";
status = "okay";
spi-max-frequency = <10000000>;
reg = <0x0>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
reset-gpios = <&test_gpio 0 0>;
drdy-gpios = <&test_gpio 0 0>;
start-sync-gpios = <&test_gpio 0 0>;
test_spi_ads114s08_gpio: ads114s0x_gpio {
compatible = "ti,ads114s0x-gpio";
gpio-controller;
ngpios = <4>;
#gpio-cells = <2>;
};
};
};
};
};

View file

@ -4,3 +4,4 @@ CONFIG_TEST_USERSPACE=y
CONFIG_I2C=y
CONFIG_GPIO_PCA95XX_INTERRUPT=y
CONFIG_SPI=y
CONFIG_ADC_ADS114S0X_GPIO=y