tests: drivers: build_all: gpio: add ads1145s0x testcase
This fixes multiple CI issues for the ads1145s0x driver. Having a special testcase for the driver limits the CONFIG_ADC=y and CONFIG_ADC_INIT_PRIORITY adjustment requirements. Also fixes address not matching warning for pcal6416a@2 Signed-off-by: Nick Ward <nix.ward@gmail.com>
This commit is contained in:
parent
e338299bd4
commit
2612aa02ce
5 changed files with 38 additions and 24 deletions
|
@ -51,7 +51,7 @@
|
|||
|
||||
test_i2c_pcal6416a: pcal6416a@2 {
|
||||
compatible = "nxp,pcal6416a";
|
||||
reg = <0x1>;
|
||||
reg = <0x2>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <16>;
|
||||
|
@ -244,30 +244,10 @@
|
|||
reset-gpios = <&test_gpio 0 0>;
|
||||
};
|
||||
|
||||
test_spi_ads114s08: ads114s08@3 {
|
||||
compatible = "ti,ads114s08";
|
||||
status = "okay";
|
||||
spi-max-frequency = <10000000>;
|
||||
reg = <0x03>;
|
||||
#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>;
|
||||
};
|
||||
};
|
||||
|
||||
test_spi_ad5592: ad5592@4 {
|
||||
test_spi_ad5592: ad5592@3 {
|
||||
compatible = "adi,ad5592";
|
||||
status = "okay";
|
||||
reg = <0x04>;
|
||||
reg = <0x03>;
|
||||
spi-max-frequency = <0>;
|
||||
reset-gpios = <&test_gpio 0 0>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue