]> git.dujemihanovic.xyz Git - u-boot.git/commit
firmware: scmi: install base protocol to SCMI agent
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 11 Oct 2023 10:07:04 +0000 (19:07 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 13 Oct 2023 20:59:24 +0000 (16:59 -0400)
commit7eb4eb541c14dbec05a7b7ba4ceb34f96f93d47f
tree2e962b13f7535f4f5cac58abe1c191d712ce43df
parentbddcd3af9c681bd37a9fbbb9661dc600248c24af
firmware: scmi: install base protocol to SCMI agent

SCMI base protocol is mandatory, and once SCMI node is found in a device
tree, the protocol handle (udevice) is unconditionally installed to
the agent. Then basic information will be retrieved from SCMI server via
the protocol and saved into the agent instance's local storage.

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/scmi_agent-uclass.c
include/scmi_agent-uclass.h