0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/opp/opp-v1.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Generic OPP (Operating Performance Points) v1 Bindings
0008
0009 maintainers:
0010 - Viresh Kumar <viresh.kumar@linaro.org>
0011
0012 description: |+
0013 Devices work at voltage-current-frequency combinations and some implementations
0014 have the liberty of choosing these. These combinations are called Operating
0015 Performance Points aka OPPs. This document defines bindings for these OPPs
0016 applicable across wide range of devices. For illustration purpose, this document
0017 uses CPU as a device.
0018
0019 This binding only supports voltage-frequency pairs.
0020
0021 select: true
0022
0023 properties:
0024 operating-points:
0025 $ref: /schemas/types.yaml#/definitions/uint32-matrix
0026 items:
0027 items:
0028 - description: Frequency in kHz
0029 - description: Voltage for OPP in uV
0030
0031
0032 additionalProperties: true
0033 examples:
0034 - |
0035 cpus {
0036 #address-cells = <1>;
0037 #size-cells = <0>;
0038
0039 cpu@0 {
0040 compatible = "arm,cortex-a9";
0041 device_type = "cpu";
0042 reg = <0>;
0043 next-level-cache = <&L2>;
0044 operating-points =
0045 /* kHz uV */
0046 <792000 1100000>,
0047 <396000 950000>,
0048 <198000 850000>;
0049 };
0050 };
0051 ...