Generic OPP (Operating Performance Points) v1

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

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

Maintainers (maintainers): "Viresh Kumar <viresh.kumar@linaro.org>"

Devices work at voltage-current-frequency combinations and some implementations have the liberty of choosing these. These combinations are called Operating Performance Points aka OPPs. This document defines bindings for these OPPs applicable across wide range of devices. For illustration purpose, this document uses CPU as a device.

This binding only supports voltage-frequency pairs.

Deprecated (deprecated): true

Properties and child nodes (properties) #

clock-latency — not listed as required here #

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

The latency in nanoseconds for clock changes. Use OPP tables for new designs instead.

voltage-tolerance — not listed as required here #

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

Maximum value (maximum): 10

The voltage tolerance in percent. Use OPP tables for new designs instead.

operating-points — not listed as required here #

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

Array item rules (items) #

Array item rules (items)

Item 1

Frequency in kHz

Item 2

Voltage for OPP in uV

Property dependencies (dependencies) #

clock-latency — applies when this property is present #

Also requires: "operating-points"

voltage-tolerance — applies when this property is present #

Also requires: "operating-points"

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

true

Allowed by this rule.

Examples (examples) #

cpus {
    #address-cells = <1>;
    #size-cells = <0>;

    cpu@0 {
        compatible = "arm,cortex-a9";
        device_type = "cpu";
        reg = <0>;
        next-level-cache = <&L2>;
        operating-points =
            /* kHz    uV */
            <792000 1100000>,
            <396000 950000>,
            <198000 850000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page