Commit cc558a3c authored by Benedikt Schmidt's avatar Benedikt Schmidt Committed by Christopher Friedt
Browse files

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

Add GPIO expander integrated in ADS114S08 to the tests.

Signed-off-by: default avatarBenedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
parent ecac4411
Loading
Loading
Loading
Loading
+20 −0
Changes for tests/drivers/build_all/gpio/app.overlay: 20 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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>;
				};
			};
		};
	};
};
+1 −0
Changes for tests/drivers/build_all/gpio/prj.conf: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ CONFIG_TEST_USERSPACE=y
CONFIG_I2C=y
CONFIG_GPIO_PCA95XX_INTERRUPT=y
CONFIG_SPI=y
CONFIG_ADC_ADS114S0X_GPIO=y