Skip to content

Commit

Permalink
tests: drivers: Add RT1715 and PS8xxx driver
Browse files Browse the repository at this point in the history
Add a build test to verify richtek,rt1715 and parade,ps8xxx driver
builds correctly.

Signed-off-by: Jianxiong Gu <jianxiong.gu@outlook.com>
  • Loading branch information
recalci committed Dec 20, 2024
1 parent 55d3d35 commit 2356a95
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/drivers/build_all/usb/i2c_devices.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@
charging-mode = "BC12_TYPE_NONE";
intb-gpios = <&test_gpio 0 0>;
};

test_i2c_p8xxx: p8xxx@1 {
compatible = "parade,ps8xxx";
reg = <1>;
irq-gpios = <&test_gpio 0 0>;
};

test_i2c_rt1715: rt1715@2 {
compatible = "richtek,rt1715";
reg = <2>;
irq-gpios = <&test_gpio 0 0>;
vconn-ctrl-gpios = <&test_gpio 0 0>;
vconn-disc-gpios = <&test_gpio 0 0>;
};
};
};
};
1 change: 1 addition & 0 deletions tests/drivers/build_all/usb/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ CONFIG_TEST_USERSPACE=y
CONFIG_USB_BC12=y
CONFIG_UHC_DRIVER=y
CONFIG_GPIO=y
CONFIG_USBC_TCPC_DRIVER=y

0 comments on commit 2356a95

Please sign in to comment.