Skip to content

Commit a505a43

Browse files
recalcikartben
authored andcommitted
tests: drivers: Add FUSB307 driver
Add a build test to verify fusb307 driver builds correctly. Signed-off-by: Jianxiong Gu <[email protected]>
1 parent 0a8aa23 commit a505a43

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/drivers/build_all/usb/i2c_devices.overlay

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@
4444
vconn-ctrl-gpios = <&test_gpio 0 0>;
4545
vconn-disc-gpios = <&test_gpio 0 0>;
4646
};
47+
48+
test_i2c_fusb307: fusb307@3 {
49+
compatible = "onnn,fusb307-tcpc";
50+
reg = <3>;
51+
irq-gpios = <&test_gpio 0 0>;
52+
53+
fusb307_vbus: fusb307_vbus {
54+
compatible = "zephyr,usb-c-vbus-tcpci";
55+
};
56+
};
4757
};
4858
};
4959
};

0 commit comments

Comments
 (0)