mbox series

[GIT,PULL] firmware: arm_scmi: Updates for v6.4

Message ID 20230417145743.1904318-1-sudeep.holla@arm.com
State New
Headers show
Series [GIT,PULL] firmware: arm_scmi: Updates for v6.4 | expand


git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-6.4


Sudeep Holla April 17, 2023, 2:57 p.m. UTC
Hi ARM SoC Team,

Please pull !



The following changes since commit d617808e3b8324eacebabefec49dc75536ee39cc:

  firmware: arm_scmi: Use the bitmap API to allocate bitmaps (2023-03-08 15:24:15 +0000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-6.4

for you to fetch changes up to 9f68ff79ec2cb303f360a35eef5dd8f1f0f817e1:

  firmware: arm_scmi: Add support for unidirectional mailbox channels (2023-04-05 09:39:18 +0100)

Arm SCMI updates for v6.4

The main and only new addition this time around is the support for
unidirectional mailbox channels. SCMI communicates between the agent
and the platform using one bidirectional 'a2p' channel used by the agent
to send SCMI commands and synchronously receive the related replies, and
an optional 'p2a' unidirectional channel used to asynchronously receive
delayed responses and notifications emitted from the platform.

In order to support platforms that support only unidirectional mailbox
hardware channels, the existing bindings are extended to support the
same. Both bidirectional and unidirectional channels support for the
SCMI mailbox can coexist. The correct and effective combination of
defined 'mboxes' and 'shmem' descriptors determines the type of the
mailbox channel.

This also contains a fix for the transfers allocation on Rx channel
especially when the base protocol doesn't use Rx channel while some
of the protocols can have dedicated Rx channels.

Cristian Marussi (3):
      firmware: arm_scmi: Fix xfers allocation on Rx channel
      dt-bindings: firmware: arm,scmi: Support mailboxes unidirectional channels
      firmware: arm_scmi: Add support for unidirectional mailbox channels

 .../devicetree/bindings/firmware/arm,scmi.yaml     | 48 ++++++++---
 drivers/firmware/arm_scmi/driver.c                 |  2 +-
 drivers/firmware/arm_scmi/mailbox.c                | 95 +++++++++++++++++++---
 3 files changed, 123 insertions(+), 22 deletions(-)