Qualcomm Adreno compatible OPP supply
Schema identifier ($id): "http://devicetree.org/schemas/opp/opp-v2-qcom-adreno.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Adreno GPUs present in Qualcomm's Snapdragon chipsets uses an OPP specific ACD related information tailored for the specific chipset. This binding provides the information needed to describe such a hardware value.
Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):opp-v2-base.yaml#
Properties and child nodes (properties) #
compatible — required here #
Rule for matching array elements (contains) #
Exact value (
const):"operating-points-v2-adreno"
Properties matching a name pattern (patternProperties) #
^opp(-[0-9]+){1,2}$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
opp-hz — required here
true — No constraints added by this property rule.
opp-level — required here
true — No constraints added by this property rule.
opp-peak-kBps — not listed as required here
true — No constraints added by this property rule.
opp-supported-hw — not listed as required here
true — No constraints added by this property rule.
qcom,opp-acd-level — not listed as required here
A positive value representing the ACD (Adaptive Clock Distribution, a fancy name for clk throttling during voltage droop) level associated with this OPP node. This value is shared to a co-processor inside GPU (called Graphics Management Unit a.k.a GMU) during wake up. It may not be present for some OPPs and GMU will disable ACD while transitioning to that OPP. This value encodes a voltage threshold, delay cycles & calibration margins which are identified by characterization of the SoC. So, it doesn't have any unit. This data is passed to GMU firmware via 'HFI_H2F_MSG_ACD' packet.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "opp-hz", "opp-level"
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) #
#include <dt-bindings/power/qcom-rpmpd.h>
gpu_opp_table: opp-table {
compatible = "operating-points-v2-adreno", "operating-points-v2";
opp-687000000 {
opp-hz = /bits/ 64 <687000000>;
opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
opp-peak-kBps = <8171875>;
qcom,opp-acd-level = <0x882e5ffd>;
};
opp-550000000 {
opp-hz = /bits/ 64 <550000000>;
opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
opp-peak-kBps = <6074219>;
qcom,opp-acd-level = <0xc0285ffd>;
};
opp-390000000 {
opp-hz = /bits/ 64 <390000000>;
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
opp-peak-kBps = <3000000>;
qcom,opp-acd-level = <0xc0285ffd>;
};
opp-300000000 {
opp-hz = /bits/ 64 <300000000>;
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
opp-peak-kBps = <2136719>;
/* Intentionally left out qcom,opp-acd-level property here */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)