Commit 60625667 authored by Igor Skalkin's avatar Igor Skalkin Committed by Sudeep Holla

dt-bindings: arm: Add virtio transport for SCMI

Document the properties for arm,scmi-virtio compatible nodes.
The backing virtio SCMI device is described in patch [1].

While doing that, make shmem property required only for pre-existing
mailbox and smc transports, since virtio-scmi does not need it.

[1] https://lists.oasis-open.org/archives/virtio-comment/202102/msg00018.html

Link: https://lore.kernel.org/r/20210803131024.40280-14-cristian.marussi@arm.comCo-developed-by: default avatarPeter Hilber <peter.hilber@opensynergy.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarIgor Skalkin <igor.skalkin@opensynergy.com>
[ Peter: Adapted patch for submission to upstream. ]
Signed-off-by: default avatarPeter Hilber <peter.hilber@opensynergy.com>
[ Cristian: converted to yaml format, moved shmen required property. ]
Signed-off-by: default avatarCristian Marussi <cristian.marussi@arm.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 78852812
...@@ -34,6 +34,10 @@ properties: ...@@ -34,6 +34,10 @@ properties:
- description: SCMI compliant firmware with ARM SMC/HVC transport - description: SCMI compliant firmware with ARM SMC/HVC transport
items: items:
- const: arm,scmi-smc - const: arm,scmi-smc
- description: SCMI compliant firmware with SCMI Virtio transport.
The virtio transport only supports a single device.
items:
- const: arm,scmi-virtio
interrupts: interrupts:
description: description:
...@@ -172,6 +176,7 @@ patternProperties: ...@@ -172,6 +176,7 @@ patternProperties:
Each sub-node represents a protocol supported. If the platform Each sub-node represents a protocol supported. If the platform
supports a dedicated communication channel for a particular protocol, supports a dedicated communication channel for a particular protocol,
then the corresponding transport properties must be present. then the corresponding transport properties must be present.
The virtio transport does not support a dedicated communication channel.
properties: properties:
reg: reg:
...@@ -195,7 +200,6 @@ patternProperties: ...@@ -195,7 +200,6 @@ patternProperties:
required: required:
- compatible - compatible
- shmem
if: if:
properties: properties:
...@@ -209,6 +213,7 @@ then: ...@@ -209,6 +213,7 @@ then:
required: required:
- mboxes - mboxes
- shmem
else: else:
if: if:
...@@ -219,6 +224,7 @@ else: ...@@ -219,6 +224,7 @@ else:
then: then:
required: required:
- arm,smc-id - arm,smc-id
- shmem
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment