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:
parent
b8244fdabd
commit
97535b5969
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
CONFIG_ADT7310_TRIGGER_NONE=y
|
||||
CONFIG_ADT7420_TRIGGER_NONE=y
|
||||
CONFIG_ADXL362_TRIGGER_NONE=y
|
||||
CONFIG_ADXL372_TRIGGER_NONE=y
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue