]> git.dujemihanovic.xyz Git - u-boot.git/commit
firmware: scmi: implement SCMI base protocol
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 11 Oct 2023 10:07:00 +0000 (19:07 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 13 Oct 2023 20:59:23 +0000 (16:59 -0400)
commitec8727b7e1c1769cef025daea84837bd7d8b7de1
tree26b8d28acc0c85aa368a236742dda75e26cd58bd
parenta89d9f41e002f67317245d3aee34f3865e14ac56
firmware: scmi: implement SCMI base protocol

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@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
drivers/firmware/scmi/Makefile
drivers/firmware/scmi/base.c [new file with mode: 0644]
include/dm/uclass-id.h
include/scmi_protocols.h