From 51bf79cabdb306e79fbb0e5617efca3011094a59 Mon Sep 17 00:00:00 2001 From: Ryan McClelland Date: Sat, 28 Oct 2023 11:40:35 -0700 Subject: [PATCH] tests: drivers: build_all: add build for i3c_dw 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 --- .../build_all/i3c/boards/qemu_cortex_m3.overlay | 12 ++++++++++++ tests/drivers/build_all/i3c/testcase.yaml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/drivers/build_all/i3c/boards/qemu_cortex_m3.overlay b/tests/drivers/build_all/i3c/boards/qemu_cortex_m3.overlay index 78c7f77e8f6f94b..733f0ddfbd2f7a1 100644 --- a/tests/drivers/build_all/i3c/boards/qemu_cortex_m3.overlay +++ b/tests/drivers/build_all/i3c/boards/qemu_cortex_m3.overlay @@ -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>; + }; }; diff --git a/tests/drivers/build_all/i3c/testcase.yaml b/tests/drivers/build_all/i3c/testcase.yaml index 4c4ed78c8404617..b4e42b05ce273fd 100644 --- a/tests/drivers/build_all/i3c/testcase.yaml +++ b/tests/drivers/build_all/i3c/testcase.yaml @@ -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"