summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/firmware
diff options
context:
space:
mode:
authorGuru Das Srinagesh <quic_gurus@quicinc.com>2023-01-13 19:11:13 +0300
committerBjorn Andersson <andersson@kernel.org>2023-01-19 06:14:40 +0300
commitafb37e2577938bb854f20d428d8f29a01ea8bc93 (patch)
tree172b807fef37c8576a6bd98f311d0239027aaafe /Documentation/devicetree/bindings/firmware
parentdfe5ac7023624617d402ca1c295552fbd271e20c (diff)
downloadlinux-afb37e2577938bb854f20d428d8f29a01ea8bc93.tar.xz
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: Guru Das Srinagesh <quic_gurus@quicinc.com> Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230113161114.22607-2-quic_sibis@quicinc.com
Diffstat (limited to 'Documentation/devicetree/bindings/firmware')
-rw-r--r--Documentation/devicetree/bindings/firmware/qcom,scm.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
index 9312a0953ea8..4193492ba73e 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
@@ -74,6 +74,12 @@ properties:
'#reset-cells':
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:
$ref: /schemas/types.yaml#/definitions/phandle-array
items:
@@ -163,6 +169,18 @@ allOf:
properties:
interconnects: false
+ # Interrupts
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,scm-sm8450
+ then:
+ properties:
+ interrupts: false
+
required:
- compatible