[PATCH v2 02/12] firmware: scmi: implement SCMI base protocol

Simon Glass sjg at chromium.org
Thu Jul 27 02:50:20 CEST 2023


On Wed, 26 Jul 2023 at 02:38, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> SCMI base protocol is mandatory according to the SCMI specification.
>
> With this patch, SCMI base protocol can be accessed via SCMI transport
> layers. All the commands, except SCMI_BASE_NOTIFY_ERRORS, are supported.
> This is because U-Boot doesn't support interrupts and the current transport
> layers are not able to handle asynchronous messages properly.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
> v2
> * add helper functions, removing direct uses of ops
> * add function descriptions for each of functions in ops
> ---
>  drivers/firmware/scmi/Makefile |   1 +
>  drivers/firmware/scmi/base.c   | 637 +++++++++++++++++++++++++++++++++
>  include/dm/uclass-id.h         |   1 +
>  include/scmi_protocols.h       | 345 ++++++++++++++++++
>  4 files changed, 984 insertions(+)
>  create mode 100644 drivers/firmware/scmi/base.c

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


More information about the U-Boot mailing list