[PATCH v6 02/14] firmware: scmi: use a protocol's own channel if assigned
Simon Glass
sjg at chromium.org
Thu Oct 12 05:45:17 CEST 2023
On Wed, 11 Oct 2023 at 03:07, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> SCMI specification allows any protocol to have its own channel for
> the transport. While the current SCMI driver may assign its channel
> from a device tree, the core function, devm_scmi_process_msg(), doesn't
> use a protocol's channel, but always use an agent's channel.
>
> With this commit, devm_scmi_process_msg() tries to find and use
> a protocol's channel. If it doesn't exist, use an agent's.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Reviewed-by: Etienne Carriere <etienne.carriere at foss.st.com>
> ---
> v5
> * new commit (fixing a potential bug)
> ---
> drivers/firmware/scmi/mailbox_agent.c | 5 +++--
> drivers/firmware/scmi/optee_agent.c | 5 +++--
> drivers/firmware/scmi/scmi_agent-uclass.c | 7 ++++---
> drivers/firmware/scmi/smccc_agent.c | 5 +++--
> include/scmi_agent-uclass.h | 8 +++++---
> 5 files changed, 18 insertions(+), 12 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list