dt-bindings: soc: qcom: Support GLINK intents
authorChris Lew <clew@codeaurora.org>
Thu, 26 Oct 2017 22:28:54 +0000 (15:28 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 31 Oct 2017 04:16:45 +0000 (21:16 -0700)
Virtual GLINK channels may know what throughput to expect from a
remoteproc. An intent advertises to the remoteproc this channel is
ready to receive data. Allow a channel to define the size and amount of
intents to be prequeued.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chris Lew <clew@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt

index b277eca..9663cab 100644 (file)
@@ -39,6 +39,14 @@ of these nodes are defined by the individual bindings for the specific function
        Definition: a list of channels tied to this function, used for matching
                    the function to a set of virtual channels
 
+- qcom,intents:
+       Usage: optional
+       Value type: <prop-encoded-array>
+       Definition: a list of size,amount pairs describing what intents should
+                   be preallocated for this virtual channel. This can be used
+                   to tweak the default intents available for the channel to
+                   meet expectations of the remote.
+
 = EXAMPLE
 The following example represents the GLINK RPM node on a MSM8996 device, with
 the function for the "rpm_request" channel defined, which is used for
@@ -69,6 +77,8 @@ regualtors and root clocks.
                        compatible = "qcom,rpm-msm8996";
                        qcom,glink-channels = "rpm_requests";
 
+                       qcom,intents = <0x400 5
+                                       0x800 1>;
                        ...
                };
        };