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:
parent
ecac441171
commit
cc558a3c46
2 changed files with 21 additions and 0 deletions
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -4,3 +4,4 @@ CONFIG_TEST_USERSPACE=y
|
|||
CONFIG_I2C=y
|
||||
CONFIG_GPIO_PCA95XX_INTERRUPT=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_ADC_ADS114S0X_GPIO=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue