summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml
diff options
context:
space:
mode:
authorMike Tipton <mdtipton@codeaurora.org>2020-09-03 22:21:46 +0300
committerGeorgi Djakov <georgi.djakov@linaro.org>2020-09-08 16:28:54 +0300
commitad4bedfc060c2ef7f9e701bd3292f8de19bc1ea0 (patch)
tree54a9a2a560e259cf8e29b36a3f9d3b4ede7fe78d /Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml
parent65e0e4d67983dca775fc9ea39f092bc76caa495f (diff)
downloadlinux-ad4bedfc060c2ef7f9e701bd3292f8de19bc1ea0.tar.xz
dt-bindings: interconnect: Add property to set BCM TCS wait behavior
Add "qcom,tcs-wait" property to set which TCS should wait for completion when triggering. Signed-off-by: Mike Tipton <mdtipton@codeaurora.org> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200903192149.30385-4-mdtipton@codeaurora.org Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml')
-rw-r--r--Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml b/Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml
index 5971fc1df08d..e23df4836c6f 100644
--- a/Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml
+++ b/Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml
@@ -21,6 +21,23 @@ properties:
enum:
- qcom,bcm-voter
+ qcom,tcs-wait:
+ description: |
+ Optional mask of which TCSs (Triggered Command Sets) wait for completion
+ upon triggering. If not specified, then the AMC and WAKE sets wait for
+ completion. The mask bits are available in the QCOM_ICC_TAG_* defines.
+
+ The AMC TCS is triggered immediately when icc_set_bw() is called. The
+ WAKE/SLEEP TCSs are triggered when the RSC transitions between active and
+ sleep modes.
+
+ In most cases, it's necessary to wait in both the AMC and WAKE sets to
+ ensure resources are available before use. If a specific RSC and its use
+ cases can ensure sufficient delay by other means, then this can be
+ overridden to reduce latencies.
+
+ $ref: /schemas/types.yaml#/definitions/uint32
+
required:
- compatible
@@ -39,7 +56,10 @@ examples:
# as defined in Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt
- |
+ #include <dt-bindings/interconnect/qcom,icc.h>
+
disp_bcm_voter: bcm_voter {
compatible = "qcom,bcm-voter";
+ qcom,tcs-wait = <QCOM_ICC_TAG_AMC>;
};
...