[PATCH v4 3/8] firmware: scmi: support Arm SMCCC transport

Simon Glass sjg at chromium.org
Thu Sep 10 15:38:23 CEST 2020


On Wed, 9 Sep 2020 at 10:44, Etienne Carriere
<etienne.carriere at linaro.org> wrote:
>
> This change implements a SMCCC transport for SCMI exchanges. This
> implementation follows the Linux kernel as references implementation
> for SCMI message processing, using the SMT format for communication
> channel meta-data.
>
> Use of SMCCC transport in SCMI FDT bindings are defined in the Linux
> kernel DT bindings since v5.8. SMCCC with SMT is implemented in OP-TEE
> from tag 3.9.0 [2].
>
> Links: [2] https://github.com/OP-TEE/optee_os/commit/a58c4d706d23
> Signed-off-by: Etienne Carriere <etienne.carriere at linaro.org>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Sudeep Holla <sudeep.holla at arm.com>
> ---
>
> Changes in v4:
> - Update CONFIG_SCMI_FIRMWARE dependencies regarding CONFIG_ARM_SMCCC.
> - Remove useless cast hence remove helper dev2agent() to get dev private.
> - Fix header file inclusion ordering.
>
> Changes in v3:
> - This is a followup of the SCMI agent patches posted in
>   https://patchwork.ozlabs.org/project/uboot/list/?series=196253
>   The v3 splits commits and introduces a new uclass as requested.
> - This patch implements the same Arm SMCCC SCMI agent as presented
>   in v2 but in its own source file smccc_agent.c, and based in smt.h.
> ---
>  drivers/firmware/scmi/Kconfig       |  6 +-
>  drivers/firmware/scmi/Makefile      |  1 +
>  drivers/firmware/scmi/smccc_agent.c | 89 +++++++++++++++++++++++++++++
>  3 files changed, 93 insertions(+), 3 deletions(-)
>  create mode 100644 drivers/firmware/scmi/smccc_agent.c

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


More information about the U-Boot mailing list