summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorNikunj Kela <quic_nkela@quicinc.com>2023-05-06 11:24:27 -0700
committerSudeep Holla <sudeep.holla@arm.com>2023-05-09 17:01:40 +0100
commit8f9d530cffc1c035974a320c51c67abfdddf01ac (patch)
tree90716d8361575b2b1ae49f204c2dded03ff75b11 /Documentation/devicetree
parentac9a78681b921877518763ba0e89202254349d1b (diff)
downloadlinux-stable-8f9d530cffc1c035974a320c51c67abfdddf01ac.tar.gz
linux-stable-8f9d530cffc1c035974a320c51c67abfdddf01ac.tar.bz2
linux-stable-8f9d530cffc1c035974a320c51c67abfdddf01ac.zip
dt-bindings: firmware: arm,scmi: support for parameter in smc/hvc call
Currently, smc/hvc calls are made with smc-id only. The parameters are all set to zeros. This change defines a new compatible string that can be used to pass shmem address(4KB-page, offset) as two parameters in SMC/HVC doorbell. This is useful when multiple scmi instances are used with common smc-id. Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20230506182428.25343-2-quic_nkela@quicinc.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/firmware/arm,scmi.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
index 5824c43e9893..ad776911f990 100644
--- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
+++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
@@ -34,6 +34,10 @@ properties:
- description: SCMI compliant firmware with ARM SMC/HVC transport
items:
- const: arm,scmi-smc
+ - description: SCMI compliant firmware with ARM SMC/HVC transport
+ with shmem address(4KB-page, offset) as parameters
+ items:
+ - const: arm,scmi-smc-param
- description: SCMI compliant firmware with SCMI Virtio transport.
The virtio transport only supports a single device.
items:
@@ -299,7 +303,9 @@ else:
properties:
compatible:
contains:
- const: arm,scmi-smc
+ enum:
+ - arm,scmi-smc
+ - arm,scmi-smc-param
then:
required:
- arm,smc-id