Skip to content

Commit

Permalink
dt-bindings: firmware: qcom,scm: Add optional interrupt
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Guru Das Srinagesh authored and Bjorn Andersson committed Jan 19, 2023
1 parent dfe5ac7 commit afb37e2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Documentation/devicetree/bindings/firmware/qcom,scm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -163,6 +169,18 @@ allOf:
properties:
interconnects: false

# Interrupts
- if:
not:
properties:
compatible:
contains:
enum:
- qcom,scm-sm8450
then:
properties:
interrupts: false

required:
- compatible

Expand Down

0 comments on commit afb37e2

Please sign in to comment.