# Qualcomm BCM-Voter Interconnect

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings_

> Device-tree binding reference for Qualcomm BCM-Voter Interconnect.

<!-- SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;interconnect&#47;qcom&#44;bcm&#45;voter&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Georgi Djakov &#60;georgi&#46;djakov&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Bus Clock Manager (BCM) is a dedicated hardware accelerator that manages
shared system resources by aggregating requests from multiple Resource State
Coordinators (RSC). Interconnect providers are able to vote for aggregated
thresholds values from consumers by communicating through their respective
RSCs.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;qcom&#44;bcm&#45;voter&#34;</code></span>

<a id="dt-1f2946716b2d375662c5"></a>

### <code>qcom&#44;tcs&#45;wait</code> — not listed as required here

<div id="dt-36df4fe97beccf8c2bd5">
<p style="white-space: pre-wrap">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.</p>
<p style="white-space: pre-wrap">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.</p>
<p style="white-space: pre-wrap">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.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-968921489e3580b03373">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">
apps_bcm_voter: bcm-voter {
    compatible = "qcom,bcm-voter";
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">
#include &lt;dt-bindings/interconnect/qcom,icc.h&gt;

disp_bcm_voter: bcm-voter {
    compatible = "qcom,bcm-voter";
    qcom,tcs-wait = &lt;QCOM_ICC_TAG_AMC&gt;;
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 47:</strong> <span> Example 1: apps bcm_voter on SDM845 SoC should be defined inside &amp;apps_rsc node</span></p>

<p id="dt-comment-2"><strong>Line 48:</strong> <span> as defined in Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml</span></p>

<p id="dt-comment-3"><strong>Line 55:</strong> <span> Example 2: disp bcm_voter on SDM845 should be defined inside &amp;disp_rsc node</span></p>

<p id="dt-comment-4"><strong>Line 56:</strong> <span> as defined in Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml</span></p>

</details>
