[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 4 Apr 2023 10:41:26 -0500
From: Rob Herring <robh@...nel.org>
To: Cristian Marussi <cristian.marussi@....com>
Cc: linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>, vincent.guittot@...aro.org,
nicola.mazzucato@....com, souvik.chakravarty@....com,
sudeep.holla@....com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] dt-bindings: firmware: arm,scmi: Support
mailboxes unidirectional channels
On Tue, 04 Apr 2023 12:50:25 +0100, Cristian Marussi wrote:
> SCMI defines two kinds of communication channels between the agent and the
> platform: 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.
>
> When configuring an SCMI transport based on mailboxes, the current binding
> supports only mailboxes providing bidirectional channels: in such a case
> one mailbox channel can be easily assigned to each SCMI channel as above
> described.
>
> In case, instead, to have to deal with mailboxes providing only distinct
> unidirectional channels, it becomes necessary to extend the binding in
> order to be able to bind 2 distinct unidirectional mailbox channels to the
> same SCMI 'a2p' channel.
>
> Bidirectional and unidirectional channels support for the SCMI mailbox
> transport can coexist by carefully considering the effective combination
> of defined 'mboxes' and 'shmem' descriptors.
>
> Signed-off-by: Cristian Marussi <cristian.marussi@....com>
> ---
> Cc: Rob Herring <robh+dt@...nel.org>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
> Cc: devicetree@...r.kernel.org
>
> v2 --> v3
> - coalesced oneOf entries using proper minItems
> - removed unidirectional channels example
> v1 --> v2
> - added mbox-names unidirectional definitions and example
> ---
> .../bindings/firmware/arm,scmi.yaml | 48 +++++++++++++++----
> 1 file changed, 38 insertions(+), 10 deletions(-)
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists