Qualcomm BCM-Voter Interconnect

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,bcm-voter.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Georgi Djakov <georgi.djakov@linaro.org>"

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.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,bcm-voter"

qcom,tcs-wait — not listed as required here #

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.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #


apps_bcm_voter: bcm-voter {
    compatible = "qcom,bcm-voter";
};

#include <dt-bindings/interconnect/qcom,icc.h>

disp_bcm_voter: bcm-voter {
    compatible = "qcom,bcm-voter";
    qcom,tcs-wait = <QCOM_ICC_TAG_AMC>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 47: Example 1: apps bcm_voter on SDM845 SoC should be defined inside &apps_rsc node

Line 48: as defined in Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml

Line 55: Example 2: disp bcm_voter on SDM845 should be defined inside &disp_rsc node

Line 56: as defined in Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml

Edit this page