Skip to content

Commit 8f9d530

Browse files
Nikunj Kelasudeep-holla
authored andcommitted
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>
1 parent ac9a786 commit 8f9d530

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Documentation/devicetree/bindings/firmware/arm,scmi.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ properties:
3434
- description: SCMI compliant firmware with ARM SMC/HVC transport
3535
items:
3636
- const: arm,scmi-smc
37+
- description: SCMI compliant firmware with ARM SMC/HVC transport
38+
with shmem address(4KB-page, offset) as parameters
39+
items:
40+
- const: arm,scmi-smc-param
3741
- description: SCMI compliant firmware with SCMI Virtio transport.
3842
The virtio transport only supports a single device.
3943
items:
@@ -299,7 +303,9 @@ else:
299303
properties:
300304
compatible:
301305
contains:
302-
const: arm,scmi-smc
306+
enum:
307+
- arm,scmi-smc
308+
- arm,scmi-smc-param
303309
then:
304310
required:
305311
- arm,smc-id

0 commit comments

Comments
 (0)