Skip to content

Commit 037f347

Browse files
drivers: sensor: ti: Add TI temp sensor HDC302x to tests
The HDC3022, HDC3021 and HDC3020 sensors are added to the tests Signed-off-by: COUSSEMENT Stijn <[email protected]>
1 parent 4aae4b2 commit 037f347

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/drivers/build_all/sensor/i2c.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,24 @@ test_i2c_hdc2080: hdc2080@42 {
456456
reg = <0x42>;
457457
};
458458

459+
test_i2c_hdc3020: hdc3020@44 {
460+
compatible = "ti,hdc3020";
461+
reg = <0x44>;
462+
int-gpios = <&test_gpio 0 0>;
463+
};
464+
465+
test_i2c_hdc3021: hdc3021@44 {
466+
compatible = "ti,hdc3021";
467+
reg = <0x44>;
468+
int-gpios = <&test_gpio 0 0>;
469+
};
470+
471+
test_i2c_hdc3022: hdc3022@44 {
472+
compatible = "ti,hdc3022";
473+
reg = <0x44>;
474+
int-gpios = <&test_gpio 0 0>;
475+
};
476+
459477
test_i2c_opt3001: opt3001@43 {
460478
compatible = "ti,opt3001";
461479
reg = <0x43>;

0 commit comments

Comments
 (0)