Skip to content

Commit ad4bedf

Browse files
Mike TiptonGeorgi Djakov
authored andcommitted
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>
1 parent 65e0e4d commit ad4bedf

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ properties:
2121
enum:
2222
- qcom,bcm-voter
2323

24+
qcom,tcs-wait:
25+
description: |
26+
Optional mask of which TCSs (Triggered Command Sets) wait for completion
27+
upon triggering. If not specified, then the AMC and WAKE sets wait for
28+
completion. The mask bits are available in the QCOM_ICC_TAG_* defines.
29+
30+
The AMC TCS is triggered immediately when icc_set_bw() is called. The
31+
WAKE/SLEEP TCSs are triggered when the RSC transitions between active and
32+
sleep modes.
33+
34+
In most cases, it's necessary to wait in both the AMC and WAKE sets to
35+
ensure resources are available before use. If a specific RSC and its use
36+
cases can ensure sufficient delay by other means, then this can be
37+
overridden to reduce latencies.
38+
39+
$ref: /schemas/types.yaml#/definitions/uint32
40+
2441
required:
2542
- compatible
2643

@@ -39,7 +56,10 @@ examples:
3956
# as defined in Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt
4057
- |
4158
59+
#include <dt-bindings/interconnect/qcom,icc.h>
60+
4261
disp_bcm_voter: bcm_voter {
4362
compatible = "qcom,bcm-voter";
63+
qcom,tcs-wait = <QCOM_ICC_TAG_AMC>;
4464
};
4565
...

0 commit comments

Comments
 (0)