Skip to content

Commit

Permalink
tests: drivers: build_all: add build for i3c_dw
Browse files Browse the repository at this point in the history
The Synopsys I3C has no in-tree board with it to built with. This
adds a test build-only for the cadence i3c peripheral attaching
with the qemu_cortex_m3 board as that appears to be generic
enough.

Signed-off-by: Ryan McClelland <[email protected]>
  • Loading branch information
XenuIsWatching committed Oct 28, 2023
1 parent f97ec51 commit 51bf79c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions tests/drivers/build_all/i3c/boards/qemu_cortex_m3.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,16 @@
i3c-scl-hz = <12500000>;
i2c-scl-hz = <400000>;
};

i3c1: i3c@cccccccc {
compatible = "snps,designware-i3c";
#address-cells = <3>;
#size-cells = <0>;
reg = <0xcccccccc 0x400>;
interrupt-parent = <&nvic>;
interrupts = <5 1>;
input-clock-frequency = <200000000>;
i3c-scl-hz = <12500000>;
i2c-scl-hz = <400000>;
};
};
2 changes: 1 addition & 1 deletion tests/drivers/build_all/i3c/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ tests:
drivers.i3c.build:
# will cover drivers without in-tree boards
platform_allow: qemu_cortex_m3
tags: i3c_cdns
tags: i3c_cdns i3c_dw
extra_args: "CONFIG_I3C=y"

0 comments on commit 51bf79c

Please sign in to comment.