Commit eace566c authored by Chris Lew's avatar Chris Lew Committed by Bjorn Andersson

dt-bindings: soc: qcom: Support GLINK intents

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 2394facb
...@@ -39,6 +39,14 @@ of these nodes are defined by the individual bindings for the specific function ...@@ -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 Definition: a list of channels tied to this function, used for matching
the function to a set of virtual channels 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 = EXAMPLE
The following example represents the GLINK RPM node on a MSM8996 device, with 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 the function for the "rpm_request" channel defined, which is used for
...@@ -69,6 +77,8 @@ regualtors and root clocks. ...@@ -69,6 +77,8 @@ regualtors and root clocks.
compatible = "qcom,rpm-msm8996"; compatible = "qcom,rpm-msm8996";
qcom,glink-channels = "rpm_requests"; qcom,glink-channels = "rpm_requests";
qcom,intents = <0x400 5
0x800 1>;
... ...
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment