[PATCH v5 13/16] test: dm: add SCMI base protocol test

Simon Glass sjg at chromium.org
Mon Oct 2 03:17:16 CEST 2023


On Tue, 26 Sept 2023 at 00:58, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> Added is a new unit test for SCMI base protocol, which will exercise all
> the commands provided by the protocol, except SCMI_BASE_NOTIFY_ERRORS.
>   $ ut dm scmi_base
> It is assumed that test.dtb is used as sandbox's device tree.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Reviewed-by: Etienne Carriere <etienne.carriere at foss.st.com>
> ---
> v4
> * fix a typo fix in v3
>   s/scmi_protocol_message_attrs/scmi_base_protocol_message_attrs/
> v3
> * typo: s/scmi_base_protocol_attrs/scmi_base_protocol_message_attrs/
> * modify the code for dynamically allocated vendor/agent names
> v2
> * use helper functions, removing direct uses of ops
> ---
>  test/dm/scmi.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 111 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list