Qualcomm OPP

Schema identifier ($id): "http://devicetree.org/schemas/opp/opp-v2-qcom-level.yaml#"

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

Maintainers (maintainers): "Niklas Cassel <nks@flawful.org>"

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 #

Exact value (const): "operating-points-v2-qcom-level"

Properties matching a name pattern (patternProperties) #

^opp-?[0-9]+$ — 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-level — required here

true — No constraints added by this property rule.

qcom,opp-fuse-level — required here

A positive value representing the fuse corner/level associated with this OPP node. Sometimes several corners/levels shares a certain fuse corner/level. A fuse corner/level contains e.g. ref uV, min uV, and max uV.

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

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "opp-level", "qcom,opp-fuse-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) #

cpr_opp_table: opp-table-cpr {
    compatible = "operating-points-v2-qcom-level";

    cpr_opp1: opp1 {
        opp-level = <1>;
        qcom,opp-fuse-level = <1>;
    };
    cpr_opp2: opp2 {
        opp-level = <2>;
        qcom,opp-fuse-level = <2>;
    };
    cpr_opp3: opp3 {
        opp-level = <3>;
        qcom,opp-fuse-level = <3>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page