[PATCH 1/5] dt-bindings: firmware: qcom-scm: Add "allow-multi-call" property

From: Guru Das Srinagesh
Date: Mon Jun 27 2022 - 15:44:54 EST


For firmware that supports it, allow multiple SCM calls to be passed
down to it by removing the serialization lock in the SCM driver.

There is a patch already [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 0f4e5ab..8a68018 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
@@ -43,6 +43,8 @@ Required properties:
clock and "bus" for the bus clock per the requirements of the compatible.
- qcom,dload-mode: phandle to the TCSR hardware block and offset of the
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.

Example for MSM8916:

--
2.7.4