u-boot/drivers/firmware/scmi
Etienne Carriere 48108f3a6a firmware: scmi: Add OP-TEE transport
This change implements an SCMI transport for agent interfacing the
OP-TEE SCMI service. OP-TEE provides an SCMI PTA (Pseudo-TA) for
non-secure world to send SCMI messages over an identified channel.
The driver implemented here uses a SMT shared memory for passing
messages between client and server.

The implementation opens and releases channel resources for each
passed SCMI message so that resources allocated (sessions) or
registered (shared memory areas) in OP-TEE firmware are released for
example before relocation as the driver will likely allocate/register
them back when probed after relocation.

The integration of the driver using dedicated config switch
CONFIG_SCMI_AGENT_OPTEE is designed on the model posted to the
U-Boot ML by Patrick Delaunay [1].

Link: [1] https://lore.kernel.org/all/20211028191222.v3.4.Ib2e58ee67f4d023823d8b5404332dc4d7e847277@changeid/
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Wolfgang Denk <wd@denx.de>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-11-23 13:54:43 -05:00
..
Kconfig firmware: scmi: Add OP-TEE transport 2021-11-23 13:54:43 -05:00
mailbox_agent.c firmware: scmi: mailbox transport: use plat data, not priv data 2021-11-23 13:53:03 -05:00
Makefile firmware: scmi: Add OP-TEE transport 2021-11-23 13:54:43 -05:00
optee_agent.c firmware: scmi: Add OP-TEE transport 2021-11-23 13:54:43 -05:00
sandbox-scmi_agent.c firmware: scmi: fix inline comments and minor coding style issues 2021-04-12 17:17:11 -04:00
sandbox-scmi_devices.c firmware: scmi: sandbox test for voltage regulator 2021-04-12 17:17:11 -04:00
scmi_agent-uclass.c firmware: scmi: voltage regulator 2021-04-12 17:17:11 -04:00
smccc_agent.c firmware: scmi: smccc transport: simplify probe sequence 2021-11-23 13:53:03 -05:00
smt.c dm: core: Add address translation in fdt_get_resource 2021-04-29 03:23:39 -07:00
smt.h firmware: scmi: mailbox/smt agent device 2020-09-30 11:55:23 -04:00