sandbox: scmi: test against a single scmi agent
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 21 Feb 2022 08:22:39 +0000 (09:22 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 2 Mar 2022 22:42:06 +0000 (17:42 -0500)
commit576e002e98d920c33a09e9c49ea2df83b6ca0b7a
treeb107036ed760aef9c74c8cfffe236831aec6e875
parentad0324181e109871de13baf431cc0488d2fa417b
sandbox: scmi: test against a single scmi agent

As per DT bindings since Linux kernel v5.14, the device tree can define
only 1 SCMI agent node that is named scmi [1]. As a consequence, change
implementation of the SCMI driver test through sandbox architecture to
reflect that.

This change updates sandbox test DT and sandbox SCMI driver accordingly
since all these are impacted.

Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/scmi_test.h
drivers/firmware/scmi/sandbox-scmi_agent.c
drivers/firmware/scmi/sandbox-scmi_devices.c
test/dm/scmi.c