[PATCH 3/5] dt-bindings: firmware: qcom-scm: Add optional interrupt

From: Guru Das Srinagesh
Date: Mon Jun 27 2022 - 15:45:00 EST


Add an interrupt specification to the bindings to support the wait-queue
feature.

There's a patch already in flight [1] to convert the bindings to YAML. I
will make a patch against it when it gets accepted.

[1] https://lore.kernel.org/linux-arm-msm/20220626183247.142776-3-david@xxxxxxx/

Signed-off-by: Guru Das Srinagesh <quic_gurus@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
index 8a68018..e1d746e 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
@@ -45,6 +45,8 @@ Required properties:
download mode control register (optional)
- allow-multi-call: Specify this to remove SCM call serialization. Need to
ensure that the firmware being used supports this.
+- interrupts: Wait-queue interrupt that firmware raises as part of handshake
+ procedure to handle sleeping SCM calls.

Example for MSM8916:

--
2.7.4