Commit afb37e25 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh Committed by Bjorn Andersson

dt-bindings: firmware: qcom,scm: Add optional interrupt

Add an interrupt specification to the bindings to support the wait-queue
feature on SM8450 SoCs.
Signed-off-by: default avatarGuru Das Srinagesh <quic_gurus@quicinc.com>
Signed-off-by: default avatarSibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113161114.22607-2-quic_sibis@quicinc.com
parent dfe5ac70
...@@ -74,6 +74,12 @@ properties: ...@@ -74,6 +74,12 @@ properties:
'#reset-cells': '#reset-cells':
const: 1 const: 1
interrupts:
description:
The wait-queue interrupt that firmware raises as part of handshake
protocol to handle sleeping SCM calls.
maxItems: 1
qcom,dload-mode: qcom,dload-mode:
$ref: /schemas/types.yaml#/definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
items: items:
...@@ -163,6 +169,18 @@ allOf: ...@@ -163,6 +169,18 @@ allOf:
properties: properties:
interconnects: false interconnects: false
# Interrupts
- if:
not:
properties:
compatible:
contains:
enum:
- qcom,scm-sm8450
then:
properties:
interrupts: false
required: required:
- compatible - compatible
......
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