Skip to content

Commit af1fbf8

Browse files
keith-zephyrjhedberg
authored andcommitted
tests: drivers: Add PS8xxx driver
Add a build test to verify the parade,ps8xxx driver builds correctly. Signed-off-by: Keith Short <[email protected]>
1 parent 5eacb2a commit af1fbf8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/drivers/build_all/usb/i2c_devices.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
charging-mode = "BC12_TYPE_NONE";
3131
intb-gpios = <&test_gpio 0 0>;
3232
};
33+
34+
test_i2c_p8xxx: p8xxx@1 {
35+
compatible = "parade,ps8xxx";
36+
reg = <1>;
37+
irq-gpios = <&test_gpio 0 0>;
38+
};
3339
};
3440
};
3541
};

tests/drivers/build_all/usb/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ CONFIG_TEST_USERSPACE=y
33
CONFIG_USB_BC12=y
44
CONFIG_UHC_DRIVER=y
55
CONFIG_GPIO=y
6+
CONFIG_USBC_TCPC_DRIVER=y

0 commit comments

Comments
 (0)