mbox series

[00/14] SCMI multi-channel and optee shm

Message ID 20220513062622.155433-1-etienne.carriere@linaro.org
Headers show
Series SCMI multi-channel and optee shm | expand

Message

Etienne Carriere May 13, 2022, 6:26 a.m. UTC
Dear all,

This series implements 2 features in driver/firmware/scmi.

First, a single change adds support for SCMI OP-TEE transport to
use OP-TEE native shared memory. See the 1st patch in this series:
"firmware: scmi: optee: use TEE shared memory for SCMI messages".

Then come changes for supporting multi-channel in the SCMI drivers.
I've split the implementation in 11 several small incremental changes
in the hope it helps the review. Few minor fixup commits are also
inserted in the series. 

Regards,
Etienne

Etienne Carriere (14):
  firmware: scmi: optee: use TEE shared memory for SCMI messages
  firmware: scmi: optee: fix inline description of
    PTA_SCMI_CMD_GET_CHANNEL
  firmware: scmi: prepare scmi uclass API to multi-channel
  firmware: scmi: prepare uclass to pass channel reference
  firmware: scmi: factorize scmi transport look up
  firmware: scmi: add multi-channel support
  firmware: scmi: mailbox transport: implement multi-channel
  firmware: scmi: smccc transport: implement multi-channel
  firmware: scmi: optee transport: implement multi-channel
  clk: scmi: support SCMI multi-channel
  reset: scmi: support SCMI multi-channel
  power: regulator: scmi: support SCMI multi-channel
  power: regulator: scmi: simplify scmi_voltd_set_enable()
  firmware: scmi: use multi channel in mailbox, optee and smccc agents

 drivers/clk/clk_scmi.c                     |  23 +++-
 drivers/firmware/scmi/mailbox_agent.c      |  65 +++++++--
 drivers/firmware/scmi/optee_agent.c        | 147 ++++++++++++++++-----
 drivers/firmware/scmi/sandbox-scmi_agent.c |   1 +
 drivers/firmware/scmi/scmi_agent-uclass.c  |  48 +++++--
 drivers/firmware/scmi/smccc_agent.c        |  56 +++++++-
 drivers/firmware/scmi/smt.c                |  53 +++++++-
 drivers/firmware/scmi/smt.h                |  45 ++++++-
 drivers/power/regulator/scmi_regulator.c   |  26 ++--
 drivers/reset/reset-scmi.c                 |  15 ++-
 include/scmi_agent-uclass.h                |  15 ++-
 include/scmi_agent.h                       |  14 +-
 12 files changed, 431 insertions(+), 77 deletions(-)