tests: drivers: build_all: add build test for ad559x i2c driver
Add build-only test of the ad559x I2C based ADC, DAC and GPIO driver. Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
This commit is contained in:
parent
17b1912bc3
commit
128e8059d2
3 changed files with 42 additions and 3 deletions
|
@ -210,6 +210,20 @@
|
|||
ngpios = <6>;
|
||||
};
|
||||
};
|
||||
|
||||
test_i2c_ad559x: ad559x@e {
|
||||
compatible = "adi,ad559x";
|
||||
status = "okay";
|
||||
reg = <0x0e>;
|
||||
reset-gpios = <&test_gpio 0 0>;
|
||||
|
||||
test_i2c_ad559x_gpio: gpio-controller {
|
||||
compatible = "adi,ad559x-gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <8>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nct3807_alert_1 {
|
||||
|
@ -275,7 +289,7 @@
|
|||
spi-max-frequency = <0>;
|
||||
reset-gpios = <&test_gpio 0 0>;
|
||||
|
||||
ad559x_gpio: gpio-controller {
|
||||
test_spi_ad559x_gpio: gpio-controller {
|
||||
compatible = "adi,ad559x-gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue