diff mbox series

[v3,1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport

Message ID 20201216205805.4221-2-james.quinlan@broadcom.com
State Accepted
Commit 99a064fb3a73920262119efead4d5048b7da2f55
Headers show
Series firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt | expand

Commit Message

Jim Quinlan Dec. 16, 2020, 8:58 p.m. UTC
In normal use of smc/hvc transport in SCMI the message completion is
indicated by the return of the SMC call.  This commit provides for an
optional interrupt named "message-serviced" which is used instead to
indicate the completion of a message.

Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
---
 Documentation/devicetree/bindings/arm/arm,scmi.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Rob Herring (Arm) Dec. 21, 2020, 8:17 p.m. UTC | #1
On Wed, Dec 16, 2020 at 03:58:01PM -0500, Jim Quinlan wrote:
> In normal use of smc/hvc transport in SCMI the message completion is

> indicated by the return of the SMC call.  This commit provides for an

> optional interrupt named "message-serviced" which is used instead to


s/message-serviced/a2p/

> indicate the completion of a message.

> 

> Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>


checkpatch.pl reports your author and Sob emails don't match.

> ---

>  Documentation/devicetree/bindings/arm/arm,scmi.txt | 8 ++++++++

>  1 file changed, 8 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt

> index b5ce5b39bb9c..667d58e0a659 100644

> --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt

> +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt

> @@ -31,6 +31,14 @@ Optional properties:

>  

>  - mbox-names: shall be "tx" or "rx" depending on mboxes entries.

>  

> +- interrupts : when using smc or hvc transports, this optional

> +	 property indicates that msg completion by the platform is indicated

> +	 by an interrupt rather than by the return of the smc call. This

> +	 should not be used except when the platform requires such behavior.

> +

> +- interrupt-names : if "interrupts" is present, interrupt-names must also

> +	 be present and have the value "a2p".

> +

>  See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details

>  about the generic mailbox controller and client driver bindings.

>  

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt
index b5ce5b39bb9c..667d58e0a659 100644
--- a/Documentation/devicetree/bindings/arm/arm,scmi.txt
+++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt
@@ -31,6 +31,14 @@  Optional properties:
 
 - mbox-names: shall be "tx" or "rx" depending on mboxes entries.
 
+- interrupts : when using smc or hvc transports, this optional
+	 property indicates that msg completion by the platform is indicated
+	 by an interrupt rather than by the return of the smc call. This
+	 should not be used except when the platform requires such behavior.
+
+- interrupt-names : if "interrupts" is present, interrupt-names must also
+	 be present and have the value "a2p".
+
 See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details
 about the generic mailbox controller and client driver bindings.