tests: drivers: build_all: sensor: Add adt7310 sensor

Adds adt7310 sensor to test.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
Andriy Gelman 2023-02-22 09:50:43 -05:00 committed by Maureen Helm
parent b8244fdabd
commit 97535b5969
4 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,4 @@
CONFIG_ADT7310_TRIGGER_GLOBAL_THREAD=y
CONFIG_ADT7420_TRIGGER_GLOBAL_THREAD=y
CONFIG_ADXL362_TRIGGER_GLOBAL_THREAD=y
CONFIG_ADXL372_TRIGGER_GLOBAL_THREAD=y

View file

@ -1,3 +1,4 @@
CONFIG_ADT7310_TRIGGER_NONE=y
CONFIG_ADT7420_TRIGGER_NONE=y
CONFIG_ADXL362_TRIGGER_NONE=y
CONFIG_ADXL372_TRIGGER_NONE=y

View file

@ -1,3 +1,4 @@
CONFIG_ADT7310_TRIGGER_OWN_THREAD=y
CONFIG_ADT7420_TRIGGER_OWN_THREAD=y
CONFIG_ADXL362_TRIGGER_OWN_THREAD=y
CONFIG_ADXL372_TRIGGER_OWN_THREAD=y

View file

@ -367,3 +367,10 @@ test_spi_hts221: hts221@2c {
spi-max-frequency = <0>;
drdy-gpios = <&test_gpio 0 0>;
};
test_spi_adt7310: adt7310@2d {
compatible = "adi,adt7310";
reg = <0x2d>;
spi-max-frequency = <0>;
int-gpios = <&test_gpio 0 0>;
};